The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
experimental[patch]: return from HuggingGPT task executor task.run() exception (#20219)
Michael Schock5e60d659179d
diff --git a/libs/experimental/langchain_experimental/autonomous_agents/hugginggpt/task_executor.py b/libs/experimental/langchain_experimental/autonomous_agents/hugginggpt/task_executor.pyindex 62a4c95da9..c149a11cbd 100644--- a/libs/experimental/langchain_experimental/autonomous_agents/hugginggpt/task_executor.py+++ b/libs/experimental/langchain_experimental/autonomous_agents/hugginggpt/task_executor.py@@ -69,6 +69,8 @@ class Task:except Exception as e:self.status = "failed"self.message = str(e)+ return self.message+self.status = "completed"self.save_product()