-
Notifications
You must be signed in to change notification settings - Fork 7
Add native Google Gemini provider support #15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
Thank you so much @jul-sh ! This looks very reasonable to me! I'll wait on the CI signals just in case but I think we are okay to merge this next week. |
evtimovi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! Thank you for your contribution!
|
Actually, @jul-sh can I ask you to also resolve the conflicts in toml and regenerate the |
evtimovi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry - updating this with one more: can you put the Llama API back in and also address the comment about the conflicts?
|
resolved the conflicts. I'm happy to add the llama API key; but would note that this PR isn't removing it (main branch doesn't have it). But happy to add it. |
Summary
Adds native Google Gemini API support using pydantic-ai's built-in
google-gla:provider prefix.Changes
googleto pydantic-ai-slim optional dependencies.env.examplewith GEMINI_API_KEYNo custom provider needed - pydantic-ai's native
google-gla:prefix handles everything!Usage
Features Supported