Closed enyst closed 1 week ago
We need to disable function calling for DeepSeek.
Function calling is enabled or disabled in the openhands/agenthub/codeact_agent/codeact_agent.py file.
We can define some module global to disable it for any models with 'deepseek'.
OpenHands started fixing the issue! You can monitor the progress here.
An attempt was made to automatically fix this issue, but it was unsuccessful. A branch named 'openhands-fix-issue-4604' has been created with the attempted changes. You can view the branch here. Manual intervention may be required.
Is there an existing issue for the same bug?
Describe the bug and reproduction steps
Trying to run on the current
main
with UI. I started a new "project" in the UI. Then I wrote "print 55":DeepSeek supports tool use, but I'm not sure we tested with DeepSeek? We really need that CI eval PR. 😅
Note:
print 55
You are a helpful assistant that can interact with a computer to solve tasks.
print 55
OBSERVATION: echo 55 55[Python Interpreter: /openhands/poetry/openhands-ai-5O4_aCHf-py3.12/bin/python] openhands@openhands-workspace:/workspace $ [Command finished with exit code 0]