有人帮忙看一下continue的配置文件吗

{
  "models": [
    {
      "title": "deepseek-coder",
      "provider": "openai",
      "apiBase": "https://new-api.us.kg/v1",
      "apiKey": "sk-3PqTBazLfOqBXe7QB06f062c697a4aFb9b556372801b8f9c",
      "model": "deepseek-coder"
    },
    {
      "title": "Qwen/Qwen2-7B-Instruct",
      "provider": "openai",
      "apiBase": "https://newapi.us.kg/v1",
      "apiKey": "sk-3PqTBazLfOqBXe7QB06f062c697a4aFb9b556372801b8f9c",
      "model": "Qwen/Qwen2-7B-Instruct"
    }
  ],
  "slashCommands": [
    {
      "name": "edit",
      "description": "Edit highlighted code"
    },
    {
      "name": "comment",
      "description": "Write comments for the highlighted code"
    },
    {
      "name": "share",
      "description": "Export the current chat session to markdown"
    },
    {
      "name": "cmd",
      "description": "Generate a shell command"
    }
  ],
  "customCommands": [
    {
      "name": "test",
      "prompt": "{{{ input }}}\n\nWrite a comprehensive set of unit tests for the selected code. It should setup, run tests that check for correctness including important edge cases, and teardown. Ensure that the tests are complete and sophisticated. Give the tests just as chat output, don't edit any file.",
      "description": "Write unit tests for highlighted code"
    }
  ],
  "contextProviders": [
    {
      "name": "diff",
      "params": {}
    },
    {
      "name": "open",
      "params": {}
    },
    {
      "name": "terminal",
      "params": {}
    }
  ],
  "tabAutocompleteModel": {
    "title": "llama",
    "provider": "openai",
    "apiBase": "https://newapi.us.kg/v1",
    "apiKey": "sk-3PqTBazLfOqBXe7QB06f062c697a4aFb9b556372801b8f9c",
    "model": "llama3-groq-70b-8192-tool-use-preview"
  },
  "embeddingsProvider": {
    "title": "embeddings",
    "provider": "openai",
    "apiBase": "https://newapi.us.kg/v1",
    "apiKey": "sk-3PqTBazLfOqBXe7QB06f062c697a4aFb9b556372801b8f9c",
    "model": "netease-youdao/bce-embedding-base_v1"
  }
}

不知道为什么一直Initializing

3 Likes

最开始需要 embedding , 是不是你文件比较大? 下看对话框下面哪个 指示灯什么颜色?
正常是绿色,
像我开启联网的rerank, 我发现打开项目挺慢的:
image

之前我没开启这个,基本秒绿.


vite项目,不会node_modules embedding进去了吧

有可能,如果你都开启了,文档里有提到过滤不需要的文件的标识.

1 Like

可以先修改一下配置, 把 embeddingsProvider 取消掉. 然后重开看看效果.

1 Like


会不会和这个有关系

破案了,是continue的bug

From 快问快答 to 开发调优

哥们,你key漏了

全是免费的,无所谓