-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
[Bug]: OpenRouter GPT-4o-mini model is not working #4920
Comments
Thanks very much for bringing this issue up. Can you try the
There was a change that added some support for other models and I'd like to see if it works here too. |
I had to modified the startup code to properly escape it for bash shell in docker and added few extra parameters
here's console log here's openhands log Still not working. |
Yeah something is up with this model. I see this in the logs, not sure if this is what causes the error:
Let me see if I can get someone to take a look at this. |
It's not, I tried creating valid .gitignore file, still fails.
|
Apologies for the ping @xingyaoww but user seems to have an issue with GPT-4o-mini specifically. Is it that the model doesn't support something? |
@shaxxx In your last screenshot, it shows With the current |
I apologize for mixing up screenshots. |
I've deleted all the containers, recreated them from main (there were some changes since docker needed to re-download image parts), build new containers without workspace bindings and still the same. |
@shaxxx You're right, I can reproduce it now. Can you please for now, add |
I can confirm it doesn't crash with additional settings.
but it was working for a while normally making me think this is another kind of (unrelated) error with container dependencies/setup and can be ignored. |
Still an issue with 0.14 version |
Still an Isuse with 0.15 version |
This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
This issue was closed because it has been stalled for over 30 days with no activity. |
Is there an existing issue for the same bug?
Describe the bug and reproduction steps
When
openrouter/openai/gpt-4o-mini
model is entered in Advanced optionsCustom model
field, OpenHands will return error in console and will not respond to prompt. If I enter any other model (leaving all other settings unchanged) it will work as expected (ie.openrouter/openai/o1-mini
). I can reproduce it with any prompt (ie. "Say hello").And yes, I've triple checked the key, and again, other models work without changing the key
And why there is no 'openai/gpt-4o-mini' option in the openrouter models? It's price and ranking (currently #1 in "Programming/scripting category" makes it default option for most of the tasks.
OpenHands Installation
Docker command in README
OpenHands Version
0.12
Operating System
WSL on Windows
Logs, Errors, Screenshots, and Additional Context
And here are my settings

The text was updated successfully, but these errors were encountered: