Continue 0.8.x模型 / API

Continue:模型无响应 / 请求一直挂起

FetchError: socket hang up (local model)
受影响版本
0.8.x
修复版本
最近验证
Continue 0.8.52

根因

config.json 里配置的本地模型端点(Ollama/LM Studio)在该 URL/端口不可达,请求挂起直到超时。

复现步骤

在 config.json 设置本地模型并发起对话,转圈永远不结束。

解决方案 (2)

按社区投票排序。应用前请先确认验证版本。

44
#1适用版本 0.8.x

确认本地服务在运行:Ollama 用 `curl http://localhost:11434/api/tags`。让 config.json 的 `apiBase` 完全匹配(主机、端口、结尾斜杠)。

最近验证: Continue 0.8.52 · community

21
#2适用版本 0.8.x

先拉取模型(`ollama pull qwen2.5-coder`)——模型缺失会导致请求卡住而非明确报错。

最近验证: Continue 0.8.50 · community

相关报错