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

Function test_after_model_call

tests/integration/test_callback.py:62–70  ·  view source on GitHub ↗
(agent_runner: TestRunner)

Source from the content-addressed store, hash-verified

60 indirect=True,
61)
62def test_after_model_call(agent_runner: TestRunner):
63 events = agent_runner.run("Hi.")
64
65 # Assert the response content
66 simplified_events = simplify_events(events)
67 assert simplified_events[0][0] == "after_model_callback_agent"
68 assert simplified_events[0][1].endswith(
69 "Update response event after model call."
70 )

Callers

nothing calls this directly

Calls 2

simplify_eventsFunction · 0.50
runMethod · 0.45

Tested by

no test coverage detected