(client: AsyncAnthropic, **kwargs: Any)
| 196 | |
| 197 | |
| 198 | def async_run(client: AsyncAnthropic, **kwargs: Any) -> Any: |
| 199 | return cast(Any, client.beta.messages).tool_runner( |
| 200 | max_tokens=1024, |
| 201 | model="claude-test", |
| 202 | tools=[beta_async_tool(async_get_weather, name="get_weather")], |
| 203 | messages=[{"role": "user", "content": "What is the weather in SF?"}], |
| 204 | **kwargs, |
| 205 | ) |
| 206 | |
| 207 | |
| 208 | def instrument(monkeypatch: pytest.MonkeyPatch, spans: Spans, runner: object, method: str) -> None: |
no test coverage detected