Skip to content

Instantly share code, notes, and snippets.

@victorfeight
Created August 4, 2024 05:22
Show Gist options
  • Save victorfeight/33ead4cee62d2ad0d309eca6c46375f8 to your computer and use it in GitHub Desktop.
Save victorfeight/33ead4cee62d2ad0d309eca6c46375f8 to your computer and use it in GitHub Desktop.
Setup Ollama and continue.dev
{
"models": [
{
"title": "DeepSeek Coder 6.7b",
"provider": "ollama",
"model": "deepseek_instruct_16k:latest",
"completionOptions": {
"temperature": 0.7,
"top_p": 0.9,
"top_k": 50,
"num_predict": 4096,
"num_thread": 4
}
},
{
"model": "gpt-4o",
"contextLength": 128000,
"title": "GPT-4o",
"systemMessage": "You are an expert software developer. You give helpful and concise responses.",
"apiKey": "xxxxx",
"provider": "openai"
}
],
"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"
}
],
"tabAutocompleteModel": {
"title": "Deepseek Instruct 16k Tab Autocomplete",
"provider": "ollama",
"model": "deepseek_instruct_16k:latest"
},
"contextProviders": [
{
"name": "code",
"params": {}
},
{
"name": "docs",
"params": {}
},
{
"name": "diff",
"params": {}
},
{
"name": "terminal",
"params": {}
},
{
"name": "problems",
"params": {}
},
{
"name": "folder",
"params": {}
},
{
"name": "codebase",
"params": {}
}
],
"slashCommands": [
{
"name": "edit",
"description": "Edit selected code"
},
{
"name": "comment",
"description": "Write comments for the selected code"
},
{
"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"
}
],
"embeddingsProvider": {
"provider": "ollama",
"model": "nomic-embed-text"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment