mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-07-31 15:47:05 +00:00
feat(Agent): ChatAgent And AgentHub
1.Upgrade sqlalchemy to version 2.0
This commit is contained in:
parent
cb7b6a111f
commit
c8deeb9b96
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user