启动claude code时报错Failed to clean tool calls
- 内容介绍
- 文章标签
- 相关推荐
我用的ccNexus工具,就是一个本地proxy会自动负载可用的上游,然后claude code启动时就会一直切换一会,后面发消息对话是正常的,就启动这一阵
image1918×688 160 KB
{
"env": {
"CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1",
"CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1",
"DISABLE INSTALLATION CHECKS": "1",
"CLAUDE_CODE_1M_CONTEXT": "1",
"DISABLE_AUTOUPDATER": "1",
"DISABLE_TELEMETRY": "1",
"CLAUDE_CODE_ATTRIBUTION_HEADER": "0",
"includeCoAuthoredBy": "false",
"ENABLE_TOOL_SEARCH": "true",
"ANTHROPIC_BETAS": "context-1m-2025-08-07",
"ANTHROPIC_BASE_URL": "http://localhost:4000",
"ANTHROPIC_AUTH_TOKEN": "sk-123456789"
},
"attribution": {
"commit": "",
"pr": ""
},
"enableAllProjectMcpServers": true,
"enabledPlugins": {
"gopls-lsp@claude-plugins-official": true,
"pr-review-toolkit@claude-plugins-official": true
},
"effortLevel": "high",
"autoUpdatesChannel": "latest",
"autoMemoryEnabled": true,
"skipDangerousModePermissionPrompt": true,
"hasCompletedOnboarding": true,
"autoCompactEnabled": false
}
网友解答:
--【壹】--:
我用的ccNexus工具,就是一个本地proxy会自动负载可用的上游,然后claude code启动时就会一直切换一会,后面发消息对话是正常的,就启动这一阵
image1918×688 160 KB
{
"env": {
"CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1",
"CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1",
"DISABLE INSTALLATION CHECKS": "1",
"CLAUDE_CODE_1M_CONTEXT": "1",
"DISABLE_AUTOUPDATER": "1",
"DISABLE_TELEMETRY": "1",
"CLAUDE_CODE_ATTRIBUTION_HEADER": "0",
"includeCoAuthoredBy": "false",
"ENABLE_TOOL_SEARCH": "true",
"ANTHROPIC_BETAS": "context-1m-2025-08-07",
"ANTHROPIC_BASE_URL": "http://localhost:4000",
"ANTHROPIC_AUTH_TOKEN": "sk-123456789"
},
"attribution": {
"commit": "",
"pr": ""
},
"enableAllProjectMcpServers": true,
"enabledPlugins": {
"gopls-lsp@claude-plugins-official": true,
"pr-review-toolkit@claude-plugins-official": true
},
"effortLevel": "high",
"autoUpdatesChannel": "latest",
"autoMemoryEnabled": true,
"skipDangerousModePermissionPrompt": true,
"hasCompletedOnboarding": true,
"autoCompactEnabled": false
}
我用的ccNexus工具,就是一个本地proxy会自动负载可用的上游,然后claude code启动时就会一直切换一会,后面发消息对话是正常的,就启动这一阵
image1918×688 160 KB
{
"env": {
"CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1",
"CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1",
"DISABLE INSTALLATION CHECKS": "1",
"CLAUDE_CODE_1M_CONTEXT": "1",
"DISABLE_AUTOUPDATER": "1",
"DISABLE_TELEMETRY": "1",
"CLAUDE_CODE_ATTRIBUTION_HEADER": "0",
"includeCoAuthoredBy": "false",
"ENABLE_TOOL_SEARCH": "true",
"ANTHROPIC_BETAS": "context-1m-2025-08-07",
"ANTHROPIC_BASE_URL": "http://localhost:4000",
"ANTHROPIC_AUTH_TOKEN": "sk-123456789"
},
"attribution": {
"commit": "",
"pr": ""
},
"enableAllProjectMcpServers": true,
"enabledPlugins": {
"gopls-lsp@claude-plugins-official": true,
"pr-review-toolkit@claude-plugins-official": true
},
"effortLevel": "high",
"autoUpdatesChannel": "latest",
"autoMemoryEnabled": true,
"skipDangerousModePermissionPrompt": true,
"hasCompletedOnboarding": true,
"autoCompactEnabled": false
}
网友解答:
--【壹】--:
我用的ccNexus工具,就是一个本地proxy会自动负载可用的上游,然后claude code启动时就会一直切换一会,后面发消息对话是正常的,就启动这一阵
image1918×688 160 KB
{
"env": {
"CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1",
"CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1",
"DISABLE INSTALLATION CHECKS": "1",
"CLAUDE_CODE_1M_CONTEXT": "1",
"DISABLE_AUTOUPDATER": "1",
"DISABLE_TELEMETRY": "1",
"CLAUDE_CODE_ATTRIBUTION_HEADER": "0",
"includeCoAuthoredBy": "false",
"ENABLE_TOOL_SEARCH": "true",
"ANTHROPIC_BETAS": "context-1m-2025-08-07",
"ANTHROPIC_BASE_URL": "http://localhost:4000",
"ANTHROPIC_AUTH_TOKEN": "sk-123456789"
},
"attribution": {
"commit": "",
"pr": ""
},
"enableAllProjectMcpServers": true,
"enabledPlugins": {
"gopls-lsp@claude-plugins-official": true,
"pr-review-toolkit@claude-plugins-official": true
},
"effortLevel": "high",
"autoUpdatesChannel": "latest",
"autoMemoryEnabled": true,
"skipDangerousModePermissionPrompt": true,
"hasCompletedOnboarding": true,
"autoCompactEnabled": false
}

