happy-helicopter-7895
06/18/2025, 1:54 PMo4-mini isn't available as a model in the OpenHands CLI?chilly-france-44439
06/18/2025, 2:41 PMo4-mini as a model in OpenHands CLI. Can you look around and see where do we maintain the list of models for OpenHands CLI, and add o4-mini to it?
Also, i think we can allow user to select "Anthropic, OpenAI, and Mistral" as model providers. Default model (models we've verified that have good experience) for each provider should be claude-sonnet-4-20250514, o4-mini, devstral-small-2505.nutritious-balloon-65098
06/18/2025, 2:41 PMnutritious-balloon-65098
06/18/2025, 2:51 PMo4-mini as a model and enable Mistral as a provider in the OpenHands CLI. Here's what was accomplished:
🎯 Key Changes Made:
1. Added o4-mini as the default OpenAI model
◦ Added to VERIFIED_OPENAI_MODELS list as the first item
◦ Now appears as the default when users select OpenAI as their provider
2. Added Mistral as a new provider
◦ Added mistral to VERIFIED_PROVIDERS list
◦ Created VERIFIED_MISTRAL_MODELS with devstral-small-2505 as the default
◦ Updated model extraction and organization logic to handle Mistral models
3. Set correct default models for each provider:
◦ OpenAI: o4-mini ✅
◦ Anthropic: claude-sonnet-4-20250514 ✅
◦ Mistral: devstral-small-2505 ✅
🔧 Technical Implementation:
• Updated openhands/cli/utils.py with new model lists and extraction logic
• Enhanced openhands/cli/settings.py to organize and prioritize Mistral models
• Added comprehensive tests in tests/unit/test_cli_utils.py
• All existing tests continue to pass
📋 Verification:
• ✅ All tests pass (33/33)
• ✅ Pre-commit hooks pass
• ✅ Code follows existing patterns and conventions
• ✅ Manual verification confirms correct model defaults
🚀 Pull Request Created:
I've created a draft pull request with all the changes: https://github.com/All-Hands-AI/OpenHands/pull/9217
Users can now select from OpenAI, Anthropic, and Mistral providers in the CLI, with the specified default models automatically selected for the best user experience.rough-easter-93268
06/18/2025, 2:57 PMchilly-france-44439
06/18/2025, 2:58 PMrough-easter-93268
06/18/2025, 3:00 PMhappy-helicopter-7895
06/19/2025, 12:27 AMclaude-sonnet-4-20250514, o4-mini, devstral-small-2505.
Xingyao FYI, this is what I'm seeing:chilly-france-44439
06/19/2025, 4:09 PMchilly-france-44439
06/19/2025, 4:09 PMuvx --python 3.12 --from git+<https://github.com/All-Hands-AI/OpenHands@add-o4-mini-mistral-support> openhands