MCPcopy Create free account
hub / github.com/anthropics/anthropic-sdk-python / _tool_runner_responses

Function _tool_runner_responses

tests/lib/test_vertex.py:127–134  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

125
126
127def _tool_runner_responses() -> List[httpx2.Response]:
128 return [
129 _vertex_message(
130 [{"type": "tool_use", "id": "toolu_01", "name": "get_weather", "input": {"city": "Paris"}}],
131 "tool_use",
132 ),
133 _vertex_message([{"type": "text", "text": "It is sunny in Paris."}], "end_turn"),
134 ]
135
136
137def _assert_tool_runner_calls(calls: List[MockRequestCall]) -> None:

Calls 1

_vertex_messageFunction · 0.85

Tested by

no test coverage detected