[GH-ISSUE #3600] [BUG]: gemini-2.5-pro-preview-03-25 model can't find #2327

Closed
opened 2026-02-22 18:29:11 -05:00 by yindo · 1 comment
Owner

Originally created by @japen0617 on GitHub (Apr 6, 2025).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3600

How are you running AnythingLLM?

Docker (local)

What happened?

Hi Sirs

I select gemini-2.5-pro-preview-03-25 model , it shows the error message as below
Could not respond to message.
[GoogleGenerativeAI Error]: Error fetching from https://generativelanguage.googleapis.com/v1/models/gemini-2.5-pro-preview-03-25:streamGenerateContent?alt=sse: [404 Not Found] models/gemini-2.5-pro-preview-03-25 is not found for API version v1, or is not supported for generateContent. Call ListModels to see the list of available models and their supported methods.

Are there known steps to reproduce?

No response

Originally created by @japen0617 on GitHub (Apr 6, 2025). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3600 ### How are you running AnythingLLM? Docker (local) ### What happened? Hi Sirs I select gemini-2.5-pro-preview-03-25 model , it shows the error message as below Could not respond to message. [GoogleGenerativeAI Error]: Error fetching from https://generativelanguage.googleapis.com/v1/models/gemini-2.5-pro-preview-03-25:streamGenerateContent?alt=sse: [404 Not Found] models/gemini-2.5-pro-preview-03-25 is not found for API version v1, or is not supported for generateContent. Call ListModels to see the list of available models and their supported methods. ### Are there known steps to reproduce? _No response_
yindo added the possible bug label 2026-02-22 18:29:11 -05:00
yindo closed this issue 2026-02-22 18:29:11 -05:00
Author
Owner

@modimansi commented on GitHub (Apr 6, 2025):

I've submitted a PR (#3602) that fixes this issue. The problem was that the gemini-2.5-pro-preview-03-25 model needs to be added to both the experimental models list and the v1BetaModels list, as well as having its context window size defined in the modelMap.

The fix adds this model to all the necessary locations, which should resolve the 404 error you're experiencing.

You can track the PR here: https://github.com/Mintplex-Labs/anything-llm/pull/3602

@modimansi commented on GitHub (Apr 6, 2025): I've submitted a PR (#3602) that fixes this issue. The problem was that the `gemini-2.5-pro-preview-03-25` model needs to be added to both the experimental models list and the v1BetaModels list, as well as having its context window size defined in the modelMap. The fix adds this model to all the necessary locations, which should resolve the 404 error you're experiencing. You can track the PR here: https://github.com/Mintplex-Labs/anything-llm/pull/3602
yindo changed title from [BUG]: gemini-2.5-pro-preview-03-25 model can't find to [GH-ISSUE #3600] [BUG]: gemini-2.5-pro-preview-03-25 model can't find 2026-06-05 14:45:54 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#2327