Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save indraAsLesmana/2975a29d5a2e5d8c7ee1f33a9d489cd6 to your computer and use it in GitHub Desktop.
Save indraAsLesmana/2975a29d5a2e5d8c7ee1f33a9d489cd6 to your computer and use it in GitHub Desktop.
Sample Continue plugin using Gemini and Ollama on localhost/LAN
{
"models": [
{
"title": "Ollama",
"provider": "ollama",
"model": "codegemma:7b",
"apiBase": "http://192.168.2.63:11434"
},
{
"title": "GFlash",
"model": "gemini-1.5-flash-latest",
"contextLength": 1000000,
"apiKey": "xxx-xxx",
"provider": "gemini"
}
],
"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": "gflash",
"provider": "gemini",
"model": "gemini-1.5-flash-latest",
"apiKey": "xxx-xxx"
},
"allowAnonymousTelemetry": true,
"contextProviders": [
{
"name": "code",
"params": {}
},
{
"name": "docs",
"params": {}
}
],
"embeddingsProvider": {
"provider": "transformers.js"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment