Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update install-vscode.mdx #605

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
9 changes: 6 additions & 3 deletions docs/cody/clients/install-vscode.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -394,14 +394,15 @@ Example VS Code user settings JSON configuration:
{
"provider": "google",
"model": "gemini-1.5-pro-latest",
"tokens": 1000000,
"inputTokens": 1000000,
"outputTokens": 8192,
"apiKey": "xyz"
},
// Groq (e.g. llama2 70b)
{
"provider": "groq",
"model": "llama2-70b-4096",
"tokens": 4096,
"inputTokens": 4096,
"apiKey": "xyz"
},
// OpenAI & OpenAI-compatible APIs
Expand All @@ -427,8 +428,10 @@ Example VS Code user settings JSON configuration:
- The LLM provider type.
- `model`: `string`
- The ID of the model, e.g. `"gemini-1.5-pro-latest"`
- `tokens`: `number` - optional
- `inputTokens`: `number` - optional
- The context window size of the model. Default: `7000`.
- `outputTokens`: `number` - optional
- The number of tokens for the response of the model. Default: `1000`.
- `apiKey`: `string` - optional
- The API key for the endpoint. Required if the provider is `"google"` or `"groq"`.
- `apiEndpoint`: `string` - optional
Expand Down
Loading