fix: polish opencode-zen onboarding (#623) (thanks @magimetal)

This commit is contained in:
Peter Steinberger
2026-01-10 01:07:56 +01:00
parent 05bd100f7a
commit c69c4caa33
9 changed files with 166 additions and 5 deletions

View File

@@ -43,6 +43,7 @@ import {
applyMinimaxHostedProviderConfig,
applyMinimaxProviderConfig,
applyOpencodeZenConfig,
applyOpencodeZenProviderConfig,
MINIMAX_HOSTED_MODEL_REF,
setAnthropicApiKey,
setGeminiApiKey,
@@ -678,7 +679,7 @@ export async function applyAuthChoice(params: {
"Model configured",
);
} else {
nextConfig = applyOpencodeZenConfig(nextConfig);
nextConfig = applyOpencodeZenProviderConfig(nextConfig);
agentModelOverride = OPENCODE_ZEN_DEFAULT_MODEL;
await noteAgentModel(OPENCODE_ZEN_DEFAULT_MODEL);
}