[Bug]: Mistral AI in "simple" mode points to wrong name "mistral ai"
Is there an existing issue for the same bug? (If one exists, thumbs up or comment on the issue instead).
- [x] I have checked the existing issues.
Describe the bug and reproduction steps
When you first setup your model, you can choose a bunch of preconfigured providers (OpenAI, Azure, Mistral, etc). If you choose "Mistral AI" and any model, lets say devstral-small-2505, the model name ends up being "mistral ai/devstral-small-2505" which breaks LiteLLM that is used in the backend. The correct mapping should be "mistral/devstral-small-2505".
You can fix it if you go into the advanced settings but most users won't know the issue. Can you fix the mapping from "Mistral AI" to use "mistral" instead of "mistral ai"?
OpenHands Installation
Docker command in README
OpenHands Version
0.39
Operating System
None
Logs, Errors, Screenshots, and Additional Context
No response
Thank you for providing the solution. I was struggling with that!
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.
Could you please confirm that this issue still persists? It looks to have been fixed if you’re using latest release
Looks like this has been fixed.