OpenHands icon indicating copy to clipboard operation
OpenHands copied to clipboard

[Bug]: Mistral AI in "simple" mode points to wrong name "mistral ai"

Open deetungsten opened this issue 7 months ago • 1 comments

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

deetungsten avatar May 25 '25 02:05 deetungsten

Thank you for providing the solution. I was struggling with that!

N-three avatar May 25 '25 10:05 N-three

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.

github-actions[bot] avatar Jul 19 '25 02:07 github-actions[bot]

Could you please confirm that this issue still persists? It looks to have been fixed if you’re using latest release

amanape avatar Jul 21 '25 15:07 amanape

Looks like this has been fixed.

mamoodi avatar Aug 25 '25 13:08 mamoodi