forked from Archives/langchain
parent
0ff59569dc
commit
62d0a01a0f
@ -22,5 +22,4 @@ class PythonREPL(BaseModel):
|
||||
except Exception as e:
|
||||
sys.stdout = old_stdout
|
||||
output = repr(e)
|
||||
print(output)
|
||||
return output
|
||||
|
Loading…
Reference in New Issue
Block a user