fix miss api

This commit is contained in:
musi
2025-06-10 21:43:01 +08:00
parent 9cffebf081
commit c9059f146d
2 changed files with 2 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "@musistudio/claude-code-router", "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", "description": "Use Claude Code without an Anthropics account and route it to another LLM provider",
"bin": { "bin": {
"ccr": "./dist/cli.js" "ccr": "./dist/cli.js"

View File

@@ -8,6 +8,7 @@ export async function executeCodeCommand(args: string[] = []) {
const env = { const env = {
...process.env, ...process.env,
DISABLE_PROMPT_CACHING: '1', DISABLE_PROMPT_CACHING: '1',
ANTHROPIC_AUTH_TOKEN: 'test',
ANTHROPIC_BASE_URL: 'http://127.0.0.1:3456', ANTHROPIC_BASE_URL: 'http://127.0.0.1:3456',
API_TIMEOUT_MS: '600000' API_TIMEOUT_MS: '600000'
}; };