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

Function _send_message_async

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

Source from the content-addressed store, hash-verified

3315
3316
3317async def _send_message_async(client: AsyncAnthropic) -> None:
3318 await client.messages.create(
3319 max_tokens=1,
3320 model="claude-opus-4-5",
3321 messages=[{"role": "user", "content": "hi"}],
3322 )
3323
3324
3325@pytest.mark.usefixtures("clean_env", "no_default_creds_file")

Calls 1

createMethod · 0.45

Tested by

no test coverage detected