From c9059f146daf30c2a1162282215680a2a42b10c9 Mon Sep 17 00:00:00 2001 From: musi Date: Tue, 10 Jun 2025 21:43:01 +0800 Subject: [PATCH] fix miss api --- package.json | 2 +- src/utils/codeCommand.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index f0b94ab..eafb1c8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@musistudio/claude-code-router", - "version": "1.0.0", + "version": "1.0.1", "description": "Use Claude Code without an Anthropics account and route it to another LLM provider", "bin": { "ccr": "./dist/cli.js" diff --git a/src/utils/codeCommand.ts b/src/utils/codeCommand.ts index 5cd9564..61e840b 100644 --- a/src/utils/codeCommand.ts +++ b/src/utils/codeCommand.ts @@ -8,6 +8,7 @@ export async function executeCodeCommand(args: string[] = []) { const env = { ...process.env, DISABLE_PROMPT_CACHING: '1', + ANTHROPIC_AUTH_TOKEN: 'test', ANTHROPIC_BASE_URL: 'http://127.0.0.1:3456', API_TIMEOUT_MS: '600000' };