-
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
Add Qwen2.5 32B model #4952
Comments
Thank you for the proposal! If it works with Ollama, then it works with This assumes you have pulled it in Ollama, and please make sure to use the exact name as returned by It might be a bit difficult to local Ollama, it depends on the machine. It should be possible to use a remote server as well. Have you successfully run it in Ollama? |
Thanks for the reply, I tried a couple of different methods from pulling the qwen2.5 model into the docker container and trying by including the model in the command as such:
But it doesn't work I keep receiving errors from LiteLLM or specific agents that cannot call the API such as the below: What's received in the Workspace/GUI for OpenHands: What shows up in the WSL terminal window:
And some other errors I've received:
Hopefully we can find a workaround, I've tried implementing all recommendations and I have yet to get OpenHands functioning using the new Qwen2.5 32B model. |
Could you tell, what is the result of running Also, if you have other LLMs in Please make sure to enter the model, some dummy key, and the base url in the UI Settings window. |
Yeah I tried running exactly as you mentioned but I don't have a dummy API key, should I try 00000000 across the board? So far I've attempted to launch using the ollama list command in terminal and have gotten to request a prompt but receive the above errors whenever I request any action. |
Yes, for openhands with ollama, you can enter anything as api key in the openhands settings window. |
So far these are my settings:
Still receive the errors above |
The base URL doesn't look right. Please see here for an example of a configuration: Also, you may want to take a look at this doc |
Thanks a bunch I got it running just fine thanks for your help! |
Implementation of Qwen 2.5 Coder Model in OpenHands
What problem or use case are you trying to solve?
OpenHands currently lacks support for newer, powerful open-source coding models that can run locally. The Qwen 2.5 Coder (32B) model represents a significant advancement in open-source coding assistance, offering:
Describe the UX of the solution you'd like
Users should be able to:
Technical Implementation Details
The implementation leverages existing LiteLLM integration in OpenHands:
Alternatives Considered
Additional Context
Performance Metrics
Initial testing shows Qwen 2.5 Coder performance:
Resource Management
Implementation includes:
Future Considerations
Documentation Requirements
Will need to update:
Testing Strategy
Dependencies
Timeline
Would you like to proceed with this implementation plan?
The text was updated successfully, but these errors were encountered: