fix miss api
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
@@ -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'
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user