feat(Agent): ChatAgent And AgentHub

1.Upgrade sqlalchemy to version 2.0
This commit is contained in:
yhjun1026 2023-10-19 14:38:41 +08:00
parent cb7b6a111f
commit c8deeb9b96

View File

@ -87,7 +87,8 @@ def execute_command(
try:
return cmd(**arguments)
except Exception as e:
return f"Error: {str(e)}"
raise ValueError(f"Error: {str(e)}")
# return f"Error: {str(e)}"
# TODO: Change these to take in a file rather than pasted code, if
# non-file is given, return instructions "Input should be a python
# filepath, write your code to file and try again