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

Function summarize

contributing/samples/workflows/auth_api_key/agent.py:69–77  ·  view source on GitHub ↗

Displays the weather result.

(node_input: dict)

Source from the content-addressed store, hash-verified

67
68
69def summarize(node_input: dict):
70 """Displays the weather result."""
71 yield Event(
72 message=(
73 f"Weather for {node_input['city']}:"
74 f" {node_input['temperature']}, {node_input['condition']}."
75 f" (Authenticated with key: {node_input['api_key_used']})"
76 )
77 )
78
79
80root_agent = Workflow(

Callers

nothing calls this directly

Calls 1

EventClass · 0.90

Tested by

no test coverage detected