opencode里怎么用中转站反代的Claude呀

2026-06-09 21:23:19 660阅读 0评论 SEO教程
  • 内容介绍
  • 文章标签
  • 相关推荐
问题描述:

本人想在opencode里用oh-my-openagent来进行多agent开发,使用Claude Opus当主调度,然后gpt 5.4当执行者,但是中转站(ikun家的)的Claude没法正常使用,只会显示有思考时间,但是就直接结束了,没有任何输出,gpt也是反代的,就完全没问题,求助站佬有解决方案嘛?十分感谢!
截屏2026-04-10 19.30.292086×772 85.7 KB
对比gpt就是正常的
截屏2026-04-10 19.31.582056×766 105 KB

网友解答:
--【壹】--:

佬问的是思考的问题吗? 这个好像是思考标签不兼容, 之前使用 opencode 遇到过, 最后也没能解决。 现在用 Codex 比较多了, 希望有佬能帮助解决

删掉。佬参考下我的配置, 在 opencode.json

opencode里怎么用中转站反代的Claude呀

{ "$schema": "https://opencode.ai/config.json", "autoupdate": true, "model": "anthropic/claude-opus-4-5-20251101", "plugin": [ "oh-my-opencode@3.1.2", "oh-my-opencode@latest" ], "provider": { "anthropic": { "options": { "baseURL": "http://127.0.0.1:8080/v1" } }, "google": { "models": { "gemini-2.5-flash": { "name": "Gemini 2.5 Flash" }, "gemini-2.5-pro": { "name": "Gemini 2.5 Pro" }, "gemini-3-flash-preview": { "name": "Gemini 3 Flash Preview" }, "gemini-3-pro-preview": { "name": "Gemini 3 Pro Preview" } }, "name": "Google", "npm": "@ai-sdk/openai-compatible", "options": { "baseURL": "http://127.0.0.1:8080/v1" } }, "openai": { "models": { "gpt-5.2": { "options": { "include": [ "reasoning.encrypted_content" ], "reasoningEffort": "high", "reasoningSummary": "auto", "store": false, "textVerbosity": "high" } } }, "options": { "baseURL": "http://127.0.0.1:8080/v1" } } }, "small_model": "openai/gpt-5.2", "theme": "opencode" }


--【贰】--:

好的好的,谢谢佬,确实,我问的就是,思考很短时间就结束了,没有任何输出的这个问题

问题描述:

本人想在opencode里用oh-my-openagent来进行多agent开发,使用Claude Opus当主调度,然后gpt 5.4当执行者,但是中转站(ikun家的)的Claude没法正常使用,只会显示有思考时间,但是就直接结束了,没有任何输出,gpt也是反代的,就完全没问题,求助站佬有解决方案嘛?十分感谢!
截屏2026-04-10 19.30.292086×772 85.7 KB
对比gpt就是正常的
截屏2026-04-10 19.31.582056×766 105 KB

网友解答:
--【壹】--:

佬问的是思考的问题吗? 这个好像是思考标签不兼容, 之前使用 opencode 遇到过, 最后也没能解决。 现在用 Codex 比较多了, 希望有佬能帮助解决

删掉。佬参考下我的配置, 在 opencode.json

opencode里怎么用中转站反代的Claude呀

{ "$schema": "https://opencode.ai/config.json", "autoupdate": true, "model": "anthropic/claude-opus-4-5-20251101", "plugin": [ "oh-my-opencode@3.1.2", "oh-my-opencode@latest" ], "provider": { "anthropic": { "options": { "baseURL": "http://127.0.0.1:8080/v1" } }, "google": { "models": { "gemini-2.5-flash": { "name": "Gemini 2.5 Flash" }, "gemini-2.5-pro": { "name": "Gemini 2.5 Pro" }, "gemini-3-flash-preview": { "name": "Gemini 3 Flash Preview" }, "gemini-3-pro-preview": { "name": "Gemini 3 Pro Preview" } }, "name": "Google", "npm": "@ai-sdk/openai-compatible", "options": { "baseURL": "http://127.0.0.1:8080/v1" } }, "openai": { "models": { "gpt-5.2": { "options": { "include": [ "reasoning.encrypted_content" ], "reasoningEffort": "high", "reasoningSummary": "auto", "store": false, "textVerbosity": "high" } } }, "options": { "baseURL": "http://127.0.0.1:8080/v1" } } }, "small_model": "openai/gpt-5.2", "theme": "opencode" }


--【贰】--:

好的好的,谢谢佬,确实,我问的就是,思考很短时间就结束了,没有任何输出的这个问题