Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 22 additions & 13 deletions docs/cody/clients/install-vscode.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -366,30 +366,39 @@ Once configured, and VS Code has been restarted, you can select the configured m
Example VS Code user settings JSON configuration:

```json
{
"cody.dev.models": [
// Google (e.g. Gemini 1.5 Pro)
{
"cody.dev.models": [
{
"provider": "google",
"model": "gemini-1.5-pro-latest",
"tokens": 1000000,
"apiKey": "xyz"
"model": "gemini-2.0-flash-exp",
"inputTokens": 1048576,
"outputTokens": 8192,
"apiKey": "<YOUR_OWN_API_KEY>",
"options": {
"temperature": 0.0
}
},
// Groq (e.g. llama2 70b)
{
"provider": "groq",
"model": "llama2-70b-4096",
"tokens": 4096,
"apiKey": "xyz"
"inputTokens": 4000,
"outputTokens": 4000,
"apiKey": "<YOUR_OWN_API_KEY>",
"options": {
"temperature": 0.0
}
},
// OpenAI & OpenAI-compatible APIs
{
"provider": "openai", // keep groq as provider
"provider": "openai",
"model": "some-model-id",
"apiKey": "xyz",
"inputTokens": 32000,
"outputTokens": 4000,
"apiKey": "<YOUR_OWN_API_KEY>",
"options": {
"temperature": 0.0
},
"apiEndpoint": "https://host.domain/path"
},
// Ollama (remote)
{
"provider": "ollama",
"model": "some-model-id",
Expand Down
Loading