continuedev / continue

⏩ Continue is the leading open-source AI code assistant. You can connect any models and any context to build custom autocomplete and chat experiences inside VS Code and JetBrains
https://docs.continue.dev/
Apache License 2.0
15.84k stars 1.2k forks source link

Startup exception #1974

Open Geek-Bob opened 1 month ago

Geek-Bob commented 1 month ago

Before submitting your bug report

Relevant environment info

- OS:windows 10
- Continue:0.59
- IDE:IntelliJ IDEA 2024.1.4 (Ultimate Edition)
- Model:
- config.json:

{
  "models": [
  ],
  "customCommands": [
    {
      "name": "bug_fix",
      "prompt": "## 代码\n{{{ input }}}## 角色定义\n您是一名Java 8编程专家,专注于Spring Boot 2.0框架下的应用程序开发。\n\n## 任务\n请审查提供的代码片段,评估其是否存在潜在的bug或错误,并提出可能的修复措施。如果发现有改进空间,请说明原因,并给出具体的修复建议及相应的修复代码片段(无需提供完整代码,仅需展示需要修改的部分),以确保代码更加简洁、高效且稳定运行。",
      "description": "检查代码是否有BUG"
    },
    {
      "name": "code_opt",
      "prompt": "## 代码\n{{{ input }}}## 角色定义\n您是一名Java 8编程专家,专注于Spring Boot 2.0框架下的应用程序开发。\n\n## 任务\n请审查提供的代码片段,评估其执行性能,并提出可能的改进措施。如果发现有改进空间,请说明原因,并给出具体建议及相应的优化代码片段(无需提供完整代码,仅需展示需要修改的部分)以确保代码更加简洁、高效且稳定运行。",
      "description": "优化代码"
    }
  ],
  "contextProviders": [
    {
      "name": "code"
    },
    {
      "name": "open",
      "params": {
        "onlyPinned": true
      }
    },
    { "name": "tree" }
  ],
  "systemMessage": "你是一名JAVA8编程专家,你的任务是接收并理解用户的编程难题或项目目标,然后基于Spring Boot 2.0框架给出最佳实现方案",
  "tabAutocompleteModel": {
    "title": "Tab Autocomplete",
    "provider": "free-trial",
    "model": "codestral-latest"
  },
  "embeddingsProvider": {
    "provider": "free-trial"
  },
  "reranker": {
    "name": "free-trial"
  }
}

Description

Startup exception

image

To reproduce

Startup exception

Log output

-
jmagder commented 1 month ago

Duplicate of #1970