diff --git a/CHANGELOG.md b/CHANGELOG.md index 340aa9a91..c41c46879 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -68,7 +68,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Remove `manifest.yml` requirements for custom tool creation. ### Fixed -- Anthropic native Tool calling +- Anthropic native Tool calling. +- Empty `ActionsSubtask.thought` being logged. ## [0.32.0] - 2024-09-17 diff --git a/griptape/tasks/actions_subtask.py b/griptape/tasks/actions_subtask.py index 38a96a603..9057fc127 100644 --- a/griptape/tasks/actions_subtask.py +++ b/griptape/tasks/actions_subtask.py @@ -108,7 +108,7 @@ def before_run(self) -> None: parts = [ f"Subtask {self.id}", - *([f"\nThought: {self.thought}"] if self.thought is not None else []), + *([f"\nThought: {self.thought}"] if self.thought else []), f"\nActions: {self.actions_to_json()}", ] logger.info("".join(parts))