Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions docs/content/docs/get-started/quickstart/workflow_agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,7 @@ class ReviewAnalysisAgent(Agent):
@staticmethod
def process_input(event: Event, ctx: RunnerContext) -> None:
"""Process input event and send chat request for review analysis."""
input_event = InputEvent.from_event(event)
input: ProductReview = input_event.input
input = ProductReview.model_validate(InputEvent.from_event(event).input)
ctx.short_term_memory.set("id", input.id)

content = f"""
Expand Down
Loading