Mintplex-Labs / anything-llm

The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, and more.
https://anythingllm.com
MIT License
27.45k stars 2.76k forks source link

[FEAT]: Please add support for gemini-exp-1114 #2657

Closed DangerousBerries closed 1 day ago

DangerousBerries commented 1 day ago

What would you like to see?

https://ai.google.dev/gemini-api/docs/models/experimental-models

It's the best free model that's available through API right now.

DangerousBerries commented 11 hours ago

lol gemini-exp-1121 just came out, the merged commit doesn't look too complicated, maybe in the future we could just type in the model name?

timothycarambat commented 11 hours ago

What we need is a combo box so it can be dropdown + input override

DangerousBerries commented 11 hours ago

What we need is a combo box so it can be dropdown + input override

That would be great, so will an update in the meantime lol.

DangerousBerries commented 6 hours ago

What we need is a combo box so it can be dropdown + input override

Thank you for the quick update, although I'm getting this error message:

[GoogleGenerativeAI Error]: Error fetching from https://generativelanguage.googleapis.com/v1/models/gemini-exp-1121:streamGenerateContent?alt=sse: [404 Not Found] models/gemini-exp-1121 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.

It's strange because here he says it's available through API here: https://x.com/OfficialLoganK/status/1859667244688736419 Unless I'm misunderstanding.