diff --git a/docs/content/docs/get-started/quickstart/workflow_agent.md b/docs/content/docs/get-started/quickstart/workflow_agent.md index 549bc041f..23855dc98 100644 --- a/docs/content/docs/get-started/quickstart/workflow_agent.md +++ b/docs/content/docs/get-started/quickstart/workflow_agent.md @@ -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"""