Skip to content
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

Declare Gemini as experimental, Google API broke without any changes #107

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

jehna
Copy link
Owner

@jehna jehna commented Sep 17, 2024

Gemini worked fine before merging to master on #66 but ceased to work shortly after with the error:

GoogleGenerativeAIFetchError: [GoogleGenerativeAI Error]: Error fetching from https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-flash:generateContent: [403 Forbidden] Method doesn't allow unregistered callers (callers without established identity). Please use API Key or other form of API consumer identity to call this API.

The same code works on local, but not at CI. It's not about missing API key as it worked fine previously and a missing/malformed API key gives the error API_KEY_INVALID.

Will treat Gemini as experimental (no end to end tests at CI) as long as Google fixes their APIs

Gemini works well on local but not on CI. Seems like an issue with the
Google's API. Removing the CI workflow for now, and declaring Gemini as
an experimental feature.
@jehna jehna added the bug Something isn't working label Sep 17, 2024
@jehna jehna merged commit 4e1bc89 into main Sep 17, 2024
4 checks passed
@jehna jehna deleted the fix/breaking-gemini-ci branch September 17, 2024 19:32
@jehna
Copy link
Owner Author

jehna commented Sep 17, 2024

Scratch that, this seems to be a dependabot issue: dependabot/dependabot-core#3253

@jehna
Copy link
Owner Author

jehna commented Sep 17, 2024

Yeah, it seems that there's a separate place at settings for secrets that Dependabot sees nowadays

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant