在config.json 中修改:

"tabAutocompleteModel": {
  "title": "codegemma:7b",
  "model": "codegemma:7b",
  "provider": "ollama",
  "contextLength": 16384
},
"embeddingsProvider": {
  "provider": "ollama",
  "model": "nomic-embed-text"
}

主要是"contextLength": 16384和"embeddingsProvider"

参考文章:

https://github.com/continuedev/continue/issues/2494

https://github.com/continuedev/continue/issues/2334

Logo

在这里,我们一起交流AI,学习AI,用AI改变世界。如有AI产品需求,可访问讯飞开放平台,www.xfyun.cn。

更多推荐