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

Function _send_message_async

tests/lib/test_credentials.py:2811–2816  ·  view source on GitHub ↗
(client: AsyncAnthropic)

Source from the content-addressed store, hash-verified

2809
2810
2811async def _send_message_async(client: AsyncAnthropic) -> None:
2812 await client.messages.create(
2813 max_tokens=1,
2814 model="claude-opus-4-5",
2815 messages=[{"role": "user", "content": "hi"}],
2816 )
2817
2818
2819@pytest.mark.usefixtures("clean_env", "no_default_creds_file")

Calls 1

createMethod · 0.45

Tested by

no test coverage detected