Skip to content
Discussion options

You must be logged in to vote

Hello, all you need is to configure the correct URL along with the key and model name.
However, you should use OpenAI-compatible mode,
Here is Google's documentation: https://ai.google.dev/gemini-api/docs/openai
and the URL should be: https://generativelanguage.googleapis.com/v1beta/openai/chat/completions

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Tsuwu6392
Comment options

Answer selected by NothingNullNull
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants