chat.demos.demo_spinner
Demo script showing Agent Runtimes Chat spinner behavior in realistic scenarios. This simulates different operation durations to showcase the spinner animation.
simulate_ai_query
async def simulate_ai_query(duration: float) -> str
Simulate an AI query taking some time.
demo_scenario
async def demo_scenario(title: str,
message: str,
duration: float,
style: str = "growing") -> None
Run a single demo scenario.
main
async def main() -> None
Run all demo scenarios.