AI Extension VSCode

发布于 更新于

AI总结: 本文介绍了一个配置文件的内容,涉及多个模型和命令设置,包括API基础地址、上下文长度、用户自定义命令、上下文提供者和斜杠命令等。配置文件中列出了不同的模型,如Qwen/Qwen2.5-Coder和DeepSeek-R1,以及它们的具体参数。改进建议包括增加对每个模型和命令的详细说明,以便用户更好地理解其功能和用途。

Augment

Legacy Community Plan 24,000 Credits/Cycle

Continue

C:\Users\Administrator\.continue\config.json  
{  
  "tabAutocompleteModel": {  
    "title": "Pro/Qwen/Qwen2.5-Coder-7B-Instruct | ME",  
    "model": "Pro/Qwen/Qwen2.5-Coder-7B-Instruct",  
    "apiBase": "http://myecs/v1/",  
    "contextLength": 32000,  
    "provider": "siliconflow"  
  },  
  "models": [  
    {  
      "title": "Qwen/Qwen2.5-Coder-32B-Instruct | ME",  
      "model": "Qwen/Qwen2.5-Coder-32B-Instruct",  
      "apiBase": "http://myecs/v1/",  
      "contextLength": 32000,  
      "provider": "siliconflow"  
    },  
    {  
      "title": "deepseek-ai/DeepSeek-R1 | ME",  
      "model": "deepseek-ai/DeepSeek-R1",  
      "apiBase": "http://myecs/v1/",  
      "contextLength": 32000,  
      "provider": "siliconflow"  
    }  
  ],  
  "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": "code",  
      "params": {}  
    },  
    {  
      "name": "docs",  
      "params": {}  
    },  
    {  
      "name": "diff",  
      "params": {}  
    },  
    {  
      "name": "terminal",  
      "params": {}  
    },  
    {  
      "name": "problems",  
      "params": {}  
    },  
    {  
      "name": "folder",  
      "params": {}  
    },  
    {  
      "name": "codebase",  
      "params": {}  
    }  
  ],  
  "slashCommands": [  
    {  
      "name": "share",  
      "description": "Export the current chat session to markdown"  
    },  
    {  
      "name": "cmd",  
      "description": "Generate a shell command"  
    },  
    {  
      "name": "commit",  
      "description": "Generate a git commit message"  
    }  
  ]  
}  

Codegeex

  "Codegeex.Local": {  
    "apiURL": "http://myecs/v1/chat/completions",  
    "useChatGLM": true,  
    "chatGLM": {  
      "apiKey": "",  
      "model": "Qwen/Qwen2.5-Coder-32B-Instruct"  
    },  
    "chat": {  
      "useDefaultSystemPrompt": true,  
      "systemPrompt": "",  
      "temperature": 0.2,  
      "top_p": 0.95,  
      "max_tokens": 1024,  
      "presence_penalty": 1  
    },  
    "completions": {  
      "useDefaultSystemPrompt": true,  
      "systemPrompt": "",  
      "temperature": 0.2,  
      "top_p": 0.95,  
      "max_tokens": 64,  
      "presence_penalty": 1  
    }  
  },