发布于 更新于
AI总结: 本文介绍了一个配置文件,包含了多个模型的信息、定制命令、上下文提供者和斜杠命令。主要内容包括:使用的模型(如Pro/Qwen和DeepSeek-R1),API基础地址,上下文长度,以及为代码编写单元测试的自定义命令。
优化建议:
1. 确保API基础地址是有效的,并考虑使用HTTPS以增强安全性。
2. 考虑为每个模型添加更多的描述信息,以便用户更好地理解其功能和适用场景。
3. 在自定义命令中,增加代码示例以帮助用户更快上手。
4. 为上下文提供者和斜杠命令添加使用示例,以提高用户体验和实用性。
5. 定期审查和更新模型列表,以反映最新的技术和需求。
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"
}
]
}