Skip to content

Add flexible authentication for Gemini AI client #79

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

Closed
wants to merge 1 commit into from

Conversation

snickerjp
Copy link

  • Implement conditional client initialization based on environment variables
  • Support API key authentication via GEMINI_API_KEY environment variable
  • Support Vertex AI authentication via GOOGLE_APPLICATION_CREDENTIALS
  • Add documentation comments explaining authentication options

- Implement conditional client initialization based on environment variables
- Support API key authentication via GEMINI_API_KEY environment variable
- Support Vertex AI authentication via GEMINI_PROJECT_ID and GEMINI_LOCATION
- Add documentation comments explaining authentication options
@snickerjp
Copy link
Author

Closing this PR since #70 implements what I wanted to achieve in an even cooler way.

@snickerjp snickerjp closed this May 2, 2025
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.

1 participant