From 8e9b8a0792872d3e2a100c0c2787b14809a6607b Mon Sep 17 00:00:00 2001 From: Robin Chiu Date: Wed, 24 Sep 2025 11:44:40 +0800 Subject: [PATCH] Reset CLAUDE_CODE_USE_BEDROCK when running with ccr code. --- src/utils/codeCommand.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/utils/codeCommand.ts b/src/utils/codeCommand.ts index 46d6714..6d9dfc2 100644 --- a/src/utils/codeCommand.ts +++ b/src/utils/codeCommand.ts @@ -21,6 +21,8 @@ export async function executeCodeCommand(args: string[] = []) { DISABLE_TELEMETRY: 'true', DISABLE_COST_WARNINGS: 'true', API_TIMEOUT_MS: String(config.API_TIMEOUT_MS ?? 600000), // Default to 10 minutes if not set + // Reset CLAUDE_CODE_USE_BEDROCK when running with ccr code + CLAUDE_CODE_USE_BEDROCK: undefined, }; let settingsFlag: Record | undefined; if (config?.StatusLine?.enabled) {