From 6d641c89c162fe6968a3b9fe843fe8c50fc41af4 Mon Sep 17 00:00:00 2001 From: henry Date: Sun, 27 Jul 2025 12:23:02 +0000 Subject: [PATCH] Initial Ccommit --- example.json | 98 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 example.json diff --git a/example.json b/example.json new file mode 100644 index 0000000..cfa76c0 --- /dev/null +++ b/example.json @@ -0,0 +1,98 @@ +{ + "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": [] +} \ No newline at end of file