Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Update workflow example #141

Merged
merged 2 commits into from
Nov 8, 2023
Merged

Update workflow example #141

merged 2 commits into from
Nov 8, 2023

Conversation

collindutter
Copy link
Member

@collindutter collindutter commented Nov 7, 2023

Relates to griptape-ai/griptape#410


📚 Documentation preview 📚: https://griptape--141.org.readthedocs.build/

@collindutter collindutter requested a review from vasinov November 7, 2023 18:56
@collindutter collindutter changed the base branch from main to dev November 7, 2023 23:22
@andrewfrench andrewfrench self-requested a review November 7, 2023 23:42
world_task.add_child(character_task_2)
world_task.add_child(story_task)
character_task_1 = character_task("scotty", "Scotty")
workflow.insert_task(parent_task, story_task, character_task_1)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we've defined parent_task at this point in the example

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Even better, parent_task doesn't ever exist. Fixed to world_task.

@collindutter collindutter merged commit 23afab4 into dev Nov 8, 2023
@collindutter collindutter deleted the collindutter/structure-emits branch November 14, 2023 18:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants