mirror of
https://github.com/Mintplex-Labs/langchain-python.git
synced 2026-07-19 21:33:31 -04: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