[PR #107] [MERGED] Declare Gemini as experimental, Google API broke without any changes #170

Closed
opened 2026-03-03 13:53:22 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jehna/humanify/pull/107
Author: @jehna
Created: 9/17/2024
Status: Merged
Merged: 9/17/2024
Merged by: @jehna

Base: mainHead: fix/breaking-gemini-ci


📝 Commits (1)

  • 1dba0d9 Fix breaking Gemini CI run

📊 Changes

3 files changed (+6 additions, -29 deletions)

View changed files

.github/workflows/test-gemini.yml (+0 -28)
📝 README.md (+2 -0)
📝 src/commands/gemini.ts (+4 -1)

📄 Description

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


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jehna/humanify/pull/107 **Author:** [@jehna](https://github.com/jehna) **Created:** 9/17/2024 **Status:** ✅ Merged **Merged:** 9/17/2024 **Merged by:** [@jehna](https://github.com/jehna) **Base:** `main` ← **Head:** `fix/breaking-gemini-ci` --- ### 📝 Commits (1) - [`1dba0d9`](https://github.com/jehna/humanify/commit/1dba0d9ddc5ab3d08012325d544b86a227c70a37) Fix breaking Gemini CI run ### 📊 Changes **3 files changed** (+6 additions, -29 deletions) <details> <summary>View changed files</summary> ➖ `.github/workflows/test-gemini.yml` (+0 -28) 📝 `README.md` (+2 -0) 📝 `src/commands/gemini.ts` (+4 -1) </details> ### 📄 Description 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 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 13:53:22 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/humanify#170
No description provided.