Last active
June 3, 2024 04:47
-
-
Save indraAsLesmana/2975a29d5a2e5d8c7ee1f33a9d489cd6 to your computer and use it in GitHub Desktop.
Sample Continue plugin using Gemini and Ollama on localhost/LAN
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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