langchain/libs/experimental/langchain_experimental/autonomous_agents/hugginggpt
Michael Schock 5e60d65917
experimental[patch]: return from HuggingGPT task executor task.run() exception (#20219)
**Description:** Fixes a bug in the HuggingGPT task execution logic
here:

      except Exception as e:
          self.status = "failed"
          self.message = str(e)
      self.status = "completed"
      self.save_product()

where a caught exception effectively just sets `self.message` and can
then throw an exception if, e.g., `self.product` is not defined.

**Issue:** None that I'm aware of.
**Dependencies:** None
**Twitter handle:** https://twitter.com/michaeljschock

Co-authored-by: Bagatur <22008038+baskaryan@users.noreply.github.com>
2024-04-25 20:16:39 +00:00
..
__init__.py
hugginggpt.py
repsonse_generator.py
task_executor.py experimental[patch]: return from HuggingGPT task executor task.run() exception (#20219) 2024-04-25 20:16:39 +00:00
task_planner.py experimental[patch]: prompts import fix (#20534) 2024-04-18 16:09:11 -04:00