Continue 0.8.x上下文 / 索引

Continue:RAG 索引错误(embeddings 提供方)

Error: embeddings provider returned 401 during @codebase indexing
受影响版本
0.8.x
修复版本
最近验证
Continue 0.8.52

根因

config.json 中 embeddings 模型缺少或填错 API key,导致 @codebase 索引中途失败。

复现步骤

用缺少有效 key 的远程 embeddings 提供方启用 @codebase,索引报错。

解决方案 (1)

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

24
#1适用版本 0.8.x

在 config.json 为 embeddings 提供方设置有效 `apiKey`,或改用本地 embeddings 模型(如经 Ollama 的 nomic-embed-text)彻底避免 key。

最近验证: Continue 0.8.52 · community

相关报错