sourcegraph / cody

Type less, code more: Cody is an AI code assistant that uses advanced search and codebase context to help you write and fix code.
https://cody.dev
Apache License 2.0
2.59k stars 275 forks source link

Adding completions to google vertex provider only for anthropic based models #4606

Closed arafatkatze closed 3 months ago

arafatkatze commented 3 months ago

Linear Issue

This PR adds support for completions support for Google Vertex but only for Anthropic based models(NOTE: Gemini and other models don't support completions when used with the google provider).

Sense of Urgency: This is a P0 because of enterprise requirements so I would appreciate a fast approval and merging.

Test plan