We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
agentic_generative_ui
1 parent 137e58a commit fb25badCopy full SHA for fb25bad
integrations/adk-middleware/python/examples/server/api/agentic_generative_ui.py
@@ -3,7 +3,7 @@
3
from __future__ import annotations
4
5
from textwrap import dedent
6
-from typing import Any, Literal
+from typing import Any, Literal, Optional
7
8
from fastapi import FastAPI
9
from pydantic import BaseModel, Field
@@ -68,7 +68,7 @@ async def create_plan(steps: list[str]) -> StateSnapshotEvent:
68
69
70
async def update_plan_step(
71
- index: int, description: str | None = None, status: StepStatus | None = None
+ index: int, description: Optional[str] = None, status: Optional[StepStatus] = None
72
) -> StateDeltaEvent:
73
"""Update the plan with new steps or changes.
74
0 commit comments