Lint: fix merged plugin auth typing
This commit is contained in:
parent
5373dc9dec
commit
9261d75139
@ -78,7 +78,11 @@ export async function runProviderPluginAuthMethod(params: {
|
||||
secretInputMode?: OnboardOptions["secretInputMode"];
|
||||
allowSecretRefPrompt?: boolean;
|
||||
opts?: Partial<OnboardOptions>;
|
||||
}): Promise<{ config: ApplyAuthChoiceParams["config"]; defaultModel?: string }> {
|
||||
}): Promise<{
|
||||
config: ApplyAuthChoiceParams["config"];
|
||||
defaultModel?: string;
|
||||
profileCount: number;
|
||||
}> {
|
||||
const agentId = params.agentId ?? resolveDefaultAgentId(params.config);
|
||||
const defaultAgentId = resolveDefaultAgentId(params.config);
|
||||
const agentDir =
|
||||
@ -139,6 +143,7 @@ export async function runProviderPluginAuthMethod(params: {
|
||||
return {
|
||||
config: nextConfig,
|
||||
defaultModel: result.defaultModel,
|
||||
profileCount: result.profiles.length,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@ -316,7 +316,7 @@ describe("finalizeSetupWizard", () => {
|
||||
confirm: vi.fn(async () => false),
|
||||
});
|
||||
|
||||
await finalizeOnboardingWizard({
|
||||
await finalizeSetupWizard({
|
||||
flow: "advanced",
|
||||
opts: {
|
||||
acceptRisk: true,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user