Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Add support for Gemini#1188

Closed
JAORMX wants to merge 2 commits intomainfrom
gemini
Closed

Add support for Gemini#1188
JAORMX wants to merge 2 commits intomainfrom
gemini

Conversation

@JAORMX
Copy link
Copy Markdown
Contributor

@JAORMX JAORMX commented Mar 3, 2025

This adds support for the two types of Gemini endpoints:

  • Standard API
  • OpenAI-compatible

NOTE: The OpenAI-compatible endpoints are working in both standalone and
muxing scenarios. I'm still trying to get the standard-gemini endpoints
working.

For now, one can test the Gemini integration in Continue as follows:

   {
      "title": "Gemini 2.0 Flash",
      "provider": "openai",
      "model": "gemini-2.0-flash",
      "apiBase": "http://127.0.0.1:8989/gemini/v1beta/openai",
      "apiKey": "MY_API_KEY"
    }

Signed-off-by: Juan Antonio Osorio ozz@stacklok.com

This adds support for the two types of Gemini endpoints:

- Standard API
- OpenAI-compatible

NOTE: The OpenAI-compatible endpoints are working in both standalone and
muxing scenarios. I'm still trying to get the standard-gemini endpoints
working.

For now, one can test the Gemini integration in Continue as follows:

```
   {
      "title": "Gemini 2.0 Flash",
      "provider": "openai",
      "model": "gemini-2.0-flash",
      "apiBase": "http://127.0.0.1:8989/gemini/v1beta/openai",
      "apiKey": "MY_API_KEY"
    }
```

Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com>
Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com>
@JAORMX JAORMX closed this Mar 3, 2025
@JAORMX JAORMX reopened this Mar 3, 2025
@JAORMX
Copy link
Copy Markdown
Contributor Author

JAORMX commented Mar 4, 2025

Will be reworked later

@JAORMX JAORMX closed this Mar 4, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant