diff --git a/CHANGELOG.md b/CHANGELOG.md index e06aa4c6de..33ccbc3d5f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - `Workflow` threads not being properly cleaned up after completion. +- Crash when `ToolAction`s were missing output due to an `ActionsSubtask` exception. ## [0.29.1] - 2024-08-02 diff --git a/griptape/tasks/toolkit_task.py b/griptape/tasks/toolkit_task.py index 59d8f9f90d..4d6d27323f 100644 --- a/griptape/tasks/toolkit_task.py +++ b/griptape/tasks/toolkit_task.py @@ -83,7 +83,7 @@ def prompt_stack(self) -> PromptStack: for action in s.actions ] action_results = [ - ToolAction(name=action.name, path=action.path, tag=action.tag, output=action.output) + ToolAction(name=action.name, path=action.path, tag=action.tag, output=action.output or s.output) for action in s.actions ]