AGI Hunt· TehseenTech·· 1 小时前AI 评分46
OpenCode CLI 调用本地 Ollama 模型无限挂起,远程模型正常
OpenCode CLI 连本地 Ollama 模型无限挂起,远程模型却正常
AI 导读
anomalyco/opencode 仓库 issue #65367 报告,OpenCode CLI 在 Windows 11 上调用本地 Ollama 模型 qwen2.5-coder:7b 时无输出且进程永不退出。相同模型通过 POST /api/generate 约 19 秒返回,改用远程 HTTP 兼容模型也正常,问题指向 CLI 与本地 Ollama 的交互 bug。
来源:AGI Hunt · agihunt.info