Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Cody Gateway: add gemini model to code completion list#63278

Merged
abeatrix merged 1 commit into
mainfrom
bee/gemini-completion
Jun 14, 2024
Merged

Cody Gateway: add gemini model to code completion list#63278
abeatrix merged 1 commit into
mainfrom
bee/gemini-completion

Conversation

@abeatrix

Copy link
Copy Markdown
Contributor

Add a stable version of the Gemini 1.5 Flash model to the allowed list for Code Completion.

Test plan

  1. Start a local Cody Gateway instance
  2. In your local sg instance set "google/gemini-1.5-flash" as your completionModel
  3. curl to the completion endpoint to confirm you are getting a completion response instead of streaming response (starts with data:):
{"completion":"I am a large language model, trained by Google. \n\nHere's what that means:\n\n* **Large Language Model:** I'm","stopReason":"STOP"}%

Changelog

@cla-bot cla-bot Bot added the cla-signed label Jun 14, 2024
@abeatrix abeatrix requested review from a team and aramaraju June 14, 2024 22:36

@aramaraju aramaraju left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you 🙇

@abeatrix abeatrix merged commit eb0fc3f into main Jun 14, 2024
@abeatrix abeatrix deleted the bee/gemini-completion branch June 14, 2024 23:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants