mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-08-05 02:20:08 +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:
|
try:
|
||||||
return cmd(**arguments)
|
return cmd(**arguments)
|
||||||
except Exception as e:
|
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
|
# TODO: Change these to take in a file rather than pasted code, if
|
||||||
# non-file is given, return instructions "Input should be a python
|
# non-file is given, return instructions "Input should be a python
|
||||||
# filepath, write your code to file and try again
|
# filepath, write your code to file and try again
|
||||||
|
Loading…
Reference in New Issue
Block a user