Skip to content

Conversation

oskretc
Copy link

@oskretc oskretc commented May 17, 2025

updating gemini baseURL according to google docs


const gemini_config = {
baseURL: "https://generativelanguage.googleapis.com/v1beta/openai/",
baseURL: "https://generativelanguage.googleapis.com/v1beta/models/",
Copy link
Owner

Choose a reason for hiding this comment

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

They suggest the original url when using openai sdk:
https://ai.google.dev/gemini-api/docs/openai

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants