mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-19 19:11:33 +00:00
parent
0ff59569dc
commit
62d0a01a0f
@ -22,5 +22,4 @@ class PythonREPL(BaseModel):
|
|||||||
except Exception as e:
|
except Exception as e:
|
||||||
sys.stdout = old_stdout
|
sys.stdout = old_stdout
|
||||||
output = repr(e)
|
output = repr(e)
|
||||||
print(output)
|
|
||||||
return output
|
return output
|
||||||
|
Loading…
Reference in New Issue
Block a user