mirror of
https://github.com/hwchase17/langchain.git
synced 2026-01-25 14:35:49 +00:00
@@ -22,5 +22,4 @@ class PythonREPL(BaseModel):
|
||||
except Exception as e:
|
||||
sys.stdout = old_stdout
|
||||
output = repr(e)
|
||||
print(output)
|
||||
return output
|
||||
|
||||
Reference in New Issue
Block a user