-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
🚀 Auto-Update Model List from OpenRouter API for Latest Choices! 🧠 #4875
Comments
Regardless of the models available in the dropdown, you can enabled 'Advanced Options' and then specify your model by typing it out in the box. Therefore it doesn't have to be in the dropdown list. |
Used Advanced Options, seems like it has issues with Litellm: Custom Model: google/gemini-flash-1.5-exp litellm.BadRequestError: LLM Provider NOT provided. Pass in the LLM provider you are trying to call. You passed model=google/gemini-flash-1.5-exp Pass model as E.g. For 'Huggingface' inference endpoints pass in completion(model='huggingface/starcoder',..) Learn more: https://docs.litellm.ai/docs/providers
|
https://docs.all-hands.dev/modules/usage/llms/openrouter Try this for model: openrouter/google/gemini-flash-1.5-exp See if that works. You likely don't need to set the base url. |
Perfect, worked like a glove, thanks 👍 . Used Advanced Options: Custom Model: openrouter/google/gemini-flash-1.5-exp
|
Used Advanced Options and this workaround works, so I'm good. Custom Model: openrouter/google/gemini-flash-1.5-exp |
Feature Request:
The model dropdown in OpenHands is missing several models available on OpenRouter, such as Gemini 1.5 Exp, Gemini 1.5 Flash, and others. Additionally, some outdated models still appear in the list, like Deepseek Coder V2 (which is deprecated by OpenRouter), while the latest model, Deepseek Coder V2.5, is not included. To ensure access to all available models, please add functionality to dynamically retrieve model options from the OpenRouter Models API.
Proposed Solution:
Benefits:
This would make OpenHands more adaptable and useful for model testing.
The text was updated successfully, but these errors were encountered: