From b9d9f08f63121ee2b1935dcee9ae717bfc0c3069 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Wed, 4 Sep 2024 13:07:07 -0700 Subject: [PATCH] Init dev folder for files related to configuring the dev environment for Jafner.net --- dev/continue.config.json | 101 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 101 insertions(+) create mode 100644 dev/continue.config.json diff --git a/dev/continue.config.json b/dev/continue.config.json new file mode 100644 index 00000000..04676319 --- /dev/null +++ b/dev/continue.config.json @@ -0,0 +1,101 @@ +{ + "models": [ + { + "title": "Ollama", + "provider": "ollama", + "model": "AUTODETECT" + }, + { + "title": "OpenRouter LLaMA 70 8B", + "provider": "openai", + "model": "meta-llama/llama-3-70b-instruct", + "apiBase": "https://openrouter.ai/api/v1", + "apiKey": "" + } + ], + "slashCommands": [ + { + "name": "edit", + "description": "Edit selected code" + }, + { + "name": "comment", + "description": "Write comments for the selected code" + }, + { + "name": "share", + "description": "Export this session as markdown" + }, + { + "name": "cmd", + "description": "Generate a shell command" + } + ], + "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" + } + ], + "contextProviders": [ + { + "name": "code", + "params": {} + }, + { + "name": "docs", + "params": {} + }, + { + "name": "diff", + "params": {} + }, + { + "name": "open", + "params": {} + }, + { + "name": "terminal", + "params": {} + }, + { + "name": "problems", + "params": {} + }, + { + "name": "folder", + "params": {} + }, + { + "name": "codebase", + "params": {} + } + ], + "tabAutocompleteModel": { + "title": "starcoder2:3b", + "provider": "ollama", + "model": "starcoder2:3b", + "apiBase": "http://localhost:11434" + }, + "tabAutocompleteOptions": { + "disable": false, + "useCopyBuffer": false, + "useFileSuffix": true, + "maxPromptTokens": 1024, + "prefixPercentage": 0.85, + "maxSuffixPercentage": 0.25, + "debounceDelay": 800, + "multilineCompletions": "auto", + "useCache": false, + "useOtherFiles": true, + "disableInFiles": [] + }, + "allowAnonymousTelemetry": true, + "embeddingsProvider": { + "provider": "ollama", + "model": "nomic-embed-text:latest", + "apiBase": "http://localhost:11434" + }, + "docs": [] +} \ No newline at end of file