Description
I tried to setup it to use deepseek but it seems it can not invoke the tool correctly. the right sidebar display nth.
here is the error messages:
2025-04-27 21:14:19,784 - ERROR - Error processing stream: cannot access local variable 'complete_native_tool_calls' where it is not associated with a value
Traceback (most recent call last):
File "C:\Users\tonyw\Documents\GitHub\suna\backend\agentpress\response_processor.py", line 406, in process_streaming_response
if config.native_tool_calling and complete_native_tool_calls:
^^^^^^^^^^^^^^^^^^^^^^^^^^
UnboundLocalError: cannot access local variable 'complete_native_tool_calls' where it is not associated with a value
2025-04-27 21:14:20,638 - INFO - Successfully added message to thread 73b689db-6c25-4051-b83f-49f40736e05c
2025-04-27 21:14:20,648 - INFO - Stream generator main loop cancelled for b1ced9b7-0833-4227-bb1e-f669393ee8ab
2025-04-27 21:14:20,649 - ERROR - Error in listener for b1ced9b7-0833-4227-bb1e-f669393ee8ab: Connection closed by server.