You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using CodeInterpreterTool, if the code inserted includes \n an error is thrown.
This happens a lot when using the tool with agent that produce complex multi-line code as input.
Something went wrong while running the code:
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'Hello' is not defined
sys:1: ResourceWarning: unclosed <socket.socket fd=3, family=2, type=1, proto=0, laddr=('127.0.0.1', 50577), raddr=('127.0.0.1', 50574)>
ResourceWarning: Enable tracemalloc to get the object allocation traceback
The text was updated successfully, but these errors were encountered:
When using
CodeInterpreterTool
, if thecode
inserted includes\n
an error is thrown.This happens a lot when using the tool with agent that produce complex multi-line code as input.
Example:
Error:
The text was updated successfully, but these errors were encountered: