[GH-ISSUE #2788] [FEAT]: Enable user-defined model listing for static model providers like Google Gemini #1784

Closed
opened 2026-02-22 18:26:30 -05:00 by yindo · 5 comments
Owner

Originally created by @dblinick on GitHub (Dec 9, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/2788

What would you like to see?

Self explanatory - would request support for this model in the Gemini UI pick list.

Thank you! Love the platform!

Originally created by @dblinick on GitHub (Dec 9, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/2788 ### What would you like to see? Self explanatory - would request support for this model in the Gemini UI pick list. Thank you! Love the platform!
yindo added the enhancementfeature request labels 2026-02-22 18:26:30 -05:00
yindo closed this issue 2026-02-22 18:26:30 -05:00
Author
Owner

@DangerousBerries commented on GitHub (Dec 9, 2024):

Yes please. I also previously discussed implementing an input override with @timothycarambat . That could solve future delays.

@DangerousBerries commented on GitHub (Dec 9, 2024): Yes please. I also previously discussed implementing an input override with @timothycarambat . That could solve future delays.
Author
Owner

@ernexto commented on GitHub (Dec 12, 2024):

Hey @timothycarambat I see you added "gemini-2.0-flash-exp-1206", but the correct model name is "gemini-2.0-flash-exp"... or am I missing osmething?

@ernexto commented on GitHub (Dec 12, 2024): Hey @timothycarambat I see you added "gemini-2.0-flash-exp-1206", but the correct model name is "gemini-2.0-flash-exp"... or am I missing osmething?
Author
Owner

@timothycarambat commented on GitHub (Jan 3, 2025):

resolved by https://github.com/Mintplex-Labs/anything-llm/pull/2868

Gemini finally added a /models endpoint - so it is no longer static!

@timothycarambat commented on GitHub (Jan 3, 2025): resolved by https://github.com/Mintplex-Labs/anything-llm/pull/2868 Gemini finally added a `/models` endpoint - so it is no longer static!
Author
Owner

@DangerousBerries commented on GitHub (Jan 21, 2025):

resolved by #2868

Gemini finally added a /models endpoint - so it is no longer static!

gemini-2.0-flash-thinking-exp-01-21 was just released and it's not showing up, do you know why?

@DangerousBerries commented on GitHub (Jan 21, 2025): > resolved by [#2868](https://github.com/Mintplex-Labs/anything-llm/pull/2868) > > Gemini finally added a `/models` endpoint - so it is no longer static! gemini-2.0-flash-thinking-exp-01-21 was just released and it's not showing up, do you know why?
Author
Owner

@timothycarambat commented on GitHub (Jan 21, 2025):

Image

Shows for me. This is because your model listing is cached (we do this to serve responses faster):
https://github.com/Mintplex-Labs/anything-llm/blob/ecc67998f1440200ffc95aafa2105b5ee8bd8f0b/server/utils/AiProviders/gemini/index.js#L70-L81

Delete the .cached_at and models.json in your storage/models/gemini .
On desktop that is here: https://docs.anythingllm.com/installation-desktop/storage

On docker, its wherever you bound the storage to.

@timothycarambat commented on GitHub (Jan 21, 2025): <img width="343" alt="Image" src="https://github.com/user-attachments/assets/0f2fbd33-4fa7-46ee-ba4b-ce0d70a4b80e" /> Shows for me. This is because your model listing is cached (we do this to serve responses faster): https://github.com/Mintplex-Labs/anything-llm/blob/ecc67998f1440200ffc95aafa2105b5ee8bd8f0b/server/utils/AiProviders/gemini/index.js#L70-L81 Delete the `.cached_at` and `models.json` in your `storage/models/gemini` . On desktop that is here: https://docs.anythingllm.com/installation-desktop/storage On docker, its wherever you bound the storage to.
yindo changed title from [FEAT]: Enable user-defined model listing for static model providers like Google Gemini to [GH-ISSUE #2788] [FEAT]: Enable user-defined model listing for static model providers like Google Gemini 2026-06-05 14:42:40 -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#1784