MCPcopy Index your code
hub / github.com/google/adk-python / example_minimal

Function example_minimal

contributing/samples/core/runner_debug_example/main.py:24–34  ·  view source on GitHub ↗

Minimal usage - just 2 lines for debugging.

()

Source from the content-addressed store, hash-verified

22
23
24async def example_minimal():
25 """Minimal usage - just 2 lines for debugging."""
26 print("------------------------------------")
27 print("Example 1: Minimal Debug Usage")
28 print("------------------------------------")
29
30 # Create runner
31 runner = InMemoryRunner(agent=agent.root_agent)
32
33 # Debug with just 2 lines
34 await runner.run_debug("What's the weather in San Francisco?")
35
36
37async def example_multiple_messages():

Callers 1

mainFunction · 0.85

Calls 2

InMemoryRunnerClass · 0.90
run_debugMethod · 0.80

Tested by

no test coverage detected