mirror of
https://github.com/musistudio/claude-code-router.git
synced 2026-01-30 06:12:06 +00:00
Reset CLAUDE_CODE_USE_BEDROCK when running with ccr code.
This commit is contained in:
@@ -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,
|
||||||
};
|
};
|
||||||
let settingsFlag: Record<string, any> | undefined;
|
let settingsFlag: Record<string, any> | undefined;
|
||||||
if (config?.StatusLine?.enabled) {
|
if (config?.StatusLine?.enabled) {
|
||||||
|
|||||||
Reference in New Issue
Block a user