diff --git a/examples/temporal/orchestrator.py b/examples/temporal/orchestrator.py index 810c201ea..645ae6e2b 100644 --- a/examples/temporal/orchestrator.py +++ b/examples/temporal/orchestrator.py @@ -25,13 +25,12 @@ @app.async_tool(name="OrchestratorWorkflow") -async def run_orchestrator(input: str, app_ctx: Optional[AppContext]) -> str: +async def run_orchestrator(input: str, app_ctx: Optional[AppContext] = None) -> str: """ Run the workflow, processing the input data. Args: input: Task description or instruction text. - app_ctx: Optional application context for the workflow. Returns: A WorkflowResult containing the processed data