We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 738ee56 commit 3d8243eCopy full SHA for 3d8243e
langchain/experimental/autonomous_agents/autogpt/agent.py
@@ -110,7 +110,13 @@ def run(self, goals: List[str]) -> str:
110
try:
111
observation = tool.run(action.args)
112
except ValidationError as e:
113
- observation = f"Error in args: {str(e)}"
+ observation = (
114
+ f"Validation Error in args: {str(e)}, args: {action.args}"
115
+ )
116
+ except Exception as e:
117
118
+ f"Error: {str(e)}, {type(e).__name__}, args: {action.args}"
119
120
result = f"Command {tool.name} returned: {observation}"
121
elif action.name == "ERROR":
122
result = f"Error: {action.args}. "
0 commit comments