Merge pull request #836 from RobinChiu/main

Reset CLAUDE_CODE_USE_BEDROCK when running with ccr code.
This commit is contained in:
musi
2025-10-09 20:54:44 +08:00
committed by GitHub

View File

@@ -21,6 +21,8 @@ export async function executeCodeCommand(args: string[] = []) {
DISABLE_TELEMETRY: 'true', DISABLE_TELEMETRY: 'true',
DISABLE_COST_WARNINGS: 'true', DISABLE_COST_WARNINGS: 'true',
API_TIMEOUT_MS: String(config.API_TIMEOUT_MS ?? 600000), // Default to 10 minutes if not set 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,
}; };
const settingsFlag = { const settingsFlag = {
env env