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

Function _send_message_async

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

Source from the content-addressed store, hash-verified

2563
2564
2565async def _send_message_async(client: AsyncAnthropic) -> None:
2566 await client.messages.create(
2567 max_tokens=1,
2568 model="claude-opus-4-5",
2569 messages=[{"role": "user", "content": "hi"}],
2570 )
2571
2572
2573@pytest.mark.usefixtures("clean_env", "no_default_creds_file")

Calls 1

createMethod · 0.45

Tested by

no test coverage detected