generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 174
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Checks
- I have updated to the lastest minor and patch version of Strands
- I have checked the documentation and this is not expected behavior
- I have searched ./issues and there are no duplicates of my issue
Strands Version
0.2.3
Tools Package Version
1.3.0
Tools used
- Workflow
Python Version
3.13.5
Operating System
macOS 15.6
Installation Method
pip
Steps to Reproduce
- Create an Agent using workflow tool.
- Define the task as following:
tasks=[ { "task_id": "story_generation", "description": "Generate a simple story (few paragraph).", "system_prompt": "Generate a simple story in English.", "model_provider": "bedrock", "model_settings": {"model_id": "us.anthropic.claude-3-7-sonnet-20250219-v1:0"}, "priority": 5 }, { "task_id": "chinses_translate", "description": "Translate the generated story in Chinese.", "dependencies": ["story_generation"], "system_prompt": "Translate the generated story in Chinese.", "model_provider": "bedrock", "model_settings": {"model_id": "us.anthropic.claude-3-7-sonnet-20250219-v1:0"}, "priority": 3 }, { "task_id": "japanese_translate", "description": "Translate the generated story in Japanese.", "dependencies": ["story_generation"], "system_prompt": "Translate the generated story in Japanese.", "model_provider": "bedrock", "model_settings": {"model_id": "us.anthropic.claude-3-7-sonnet-20250219-v1:0"}, "priority": 3 }, { "task_id": "final_story", "description": "Generate a pretty HTML of the story", "dependencies": ["story_generation", "chinses_translate", "japanese_translate"], "model_provider": "bedrock", "model_settings": {"model_id": "us.anthropic.claude-3-7-sonnet-20250219-v1:0"}, "system_prompt": "Generate a pretty HTML of the story, English version first, followed by Chinese version then Japanese version of the story.", "priority": 2 } ]
- Start the workflow
Expected Behavior
As documented in Strands Agent website, the task should have context of result of dependent task from previous steps.
Actual Behavior
I got the following error from "chinese_translate" and "japanese_translate" task: I don't see the story you need to translate. And I checked the model invocation log in Bedrock, the result of story generation is not in the context for "chinese_translate" and "japanese_translate" tasks.
Additional Context
No response
Possible Solution
No response
Related Issues
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working