fix: 将 modelType 从 openai-responses 改为 codex 并注册枚举值

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
claude-code-best
2026-04-26 22:06:34 +08:00
parent cd59a88d44
commit 13799b5058
2 changed files with 4 additions and 4 deletions

View File

@@ -372,7 +372,7 @@ export function ConsoleOAuthFlow({
CODEX_LOGIN_METHOD: 'chatgpt_subscription',
}
updateSettingsForSource('userSettings', {
modelType: 'openai-responses' as any,
modelType: 'codex',
env,
} as any)
for (const [key, value] of Object.entries(env)) {