Files
vscode-ai-anbidung/example.json
2025-07-27 12:23:02 +00:00

98 lines
2.5 KiB
JSON

{
"disableIndexing": false,
"models": [
{
"title": "Ollama",
"provider": "ollama",
"model": "AUTODETECT"
},
{
"model": "codellama:instruct",
"title": "local - codellama",
"completionOptions": {},
// "apiBase": "http://deepthought.ti.unibw-hamburg.de:11434",
"apiBase": "http://192.168.178.150:11434",
"provider": "ollama"
},
{
"title": "Gemini 2.0 Flash",
"model": "gemini-2.0-flash",
"contextLength": 1000000,
"apiKey": "AIzaSyAU77DJonoClskhv839ILag02UU6xm4Cck",
"provider": "gemini"
},
],
"modelRoles": {
"default": "GPT-4"
},
"tabAutocompleteModel": {
// "apiBase": "http://deepthought.ti.unibw-hamburg.de:11434",
"apiBase": "http://192.168.178.150:11434",
"title": "codellama:code",
"provider": "ollama",
"model": "codellama:code"
},
"tabAutocompleteOptions": {
"useCopyBuffer": false,
"maxPromptTokens": 400,
"prefixPercentage": 0.5
},
"systemMessage": "always respond in englisch",
"slashCommands": [
{
"name": "edit",
"description": "Edit highlighted code",
"step": "EditHighlightedCodeStep"
},
{
"name": "comment",
"description": "Write comments for the highlighted code",
"step": "CommentCodeStep"
},
{
"name": "share",
"description": "Download and share this session",
"step": "ShareSessionStep"
},
{
"name": "cmd",
"description": "Generate a shell command",
"step": "GenerateShellCommandStep"
}
],
"customCommands": [
{
"name": "test",
"prompt": "Write 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"
}
],
"allowAnonymousTelemetry": false,
"contextProviders": [
{
"name": "codebase",
"params": {
"nRetrieve": 25,
"nFinal": 5,
"useReranking": true
}
},
{
"name": "code",
"params": {}
},
{
"name": "docs",
"params": {}
}
],
"embeddingsProvider": {
"model": "codellama:7b",
// "apiBase": "http://deepthought.ti.unibw-hamburg.de:11434",
"apiBase": "http://192.168.178.150:11434",
"title": "deepseek-coder",
"provider": "ollama"
},
"docs": []
}