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

Function _send_message_async

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

Source from the content-addressed store, hash-verified

3127
3128
3129async def _send_message_async(client: AsyncAnthropic) -> None:
3130 await client.messages.create(
3131 max_tokens=1,
3132 model="claude-opus-4-5",
3133 messages=[{"role": "user", "content": "hi"}],
3134 )
3135
3136
3137@pytest.mark.usefixtures("clean_env", "no_default_creds_file")

Calls 1

createMethod · 0.45

Tested by

no test coverage detected