Q178: the Chinese UI labels stored values and sign-in prompts, and shortcuts follow the platform

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-10-09 05:42:45 -04:00
1 parent f79e3d4d7c
commit 1cc67c244e
28 files changed
+158 -52

No files matched your search

+1 -1
View File
@@ -99,7 +99,7 @@ export const openaiCodexFlow: OAuthFlow = {
const state = generatePkce().verifier;
const server = await startOAuthCallbackServer({ port: CALLBACK_PORT, path: CALLBACK_PATH, signal: callbacks.signal });
try {
callbacks.onAuth({ url: buildAuthorizeUrl(challenge, state), instructions: "Complete the ChatGPT sign-in in your browser." });
callbacks.onAuth({ url: buildAuthorizeUrl(challenge, state), userCode: null });
const result = await server.waitForCode();
if (result.state !== state) throw new Error("OAuth state mismatch.");
const tokens = await exchangeCode(result.code, verifier, callbacks.signal);