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

Function test_before_model_call

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

Source from the content-addressed store, hash-verified

42 indirect=True,
43)
44def test_before_model_call(agent_runner: TestRunner):
45 agent_runner.run("Hi.")
46
47 # Assert the response content
48 assert_agent_says(
49 "End invocation event before model call.",
50 agent_name="before_model_callback_agent",
51 agent_runner=agent_runner,
52 )
53
54
55# TODO: re-enable vertex by removing below line after fixing.

Callers

nothing calls this directly

Calls 2

assert_agent_saysFunction · 0.85
runMethod · 0.45

Tested by

no test coverage detected