Skip to content

Commit c3161a8

Browse files
authored
Remove Gemini models via Vertex AI mode config example (#1240)
1 parent fbb64b9 commit c3161a8

File tree

1 file changed

+0
-57
lines changed

1 file changed

+0
-57
lines changed

docs/cody/enterprise/model-config-examples.mdx

Lines changed: 0 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -668,63 +668,6 @@ In the configuration above,
668668

669669
</Accordion>
670670

671-
<Accordion title="Google Vertex (Gemini)">
672-
673-
```json
674-
"modelConfiguration": {
675-
"sourcegraph": null,
676-
"providerOverrides": [
677-
{
678-
"id": "google",
679-
"displayName": "Google Gemini",
680-
"serverSideConfig": {
681-
"type": "google",
682-
"accessToken": "token",
683-
"endpoint": "https://us-east5-aiplatform.googleapis.com/v1/projects/project-name/locations/us-east5/publishers/anthropic/models"
684-
}
685-
}
686-
],
687-
"modelOverrides": [
688-
{
689-
"modelRef": "google::unknown::claude-3-5-sonnet",
690-
"displayName": "Claude 3.5 Sonnet (via Google Vertex)",
691-
"modelName": "claude-3-5-sonnet@20240620",
692-
"contextWindow": {
693-
"maxInputTokens": 45000,
694-
"maxOutputTokens": 4000
695-
},
696-
"capabilities": ["chat"],
697-
"category": "accuracy",
698-
"status": "stable"
699-
},
700-
{
701-
"modelRef": "google::unknown::claude-3-haiku",
702-
"displayName": "Claude 3 Haiku",
703-
"modelName": "claude-3-haiku@20240307",
704-
"capabilities": ["autocomplete", "chat"],
705-
"category": "speed",
706-
"status": "stable",
707-
"contextWindow": {
708-
"maxInputTokens": 7000,
709-
"maxOutputTokens": 4000
710-
}
711-
},
712-
],
713-
"defaultModels": {
714-
"chat": "google::unknown::claude-3-5-sonnet",
715-
"fastChat": "google::unknown::claude-3-5-sonnet",
716-
"codeCompletion": "google::unknown::claude-3-haiku"
717-
}
718-
}
719-
```
720-
721-
In the configuration above,
722-
723-
- Set up a provider override for Google Anthropic, routing requests for this provider directly to the specified endpoint (bypassing Cody Gateway)
724-
- Add two Anthropic models: - `"google::unknown::claude-3-5-sonnet"` with "chat" capabiity - used for "chat" and "fastChat" - `"google::unknown::claude-3-haiku"` with "autocomplete" capability - used for "codeCompletion"
725-
726-
</Accordion>
727-
728671
<Accordion title="Amazon Bedrock">
729672

730673
```json

0 commit comments

Comments
 (0)