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

Function _send_message

tests/lib/test_credentials.py:2253–2258  ·  view source on GitHub ↗
(client: Anthropic)

Source from the content-addressed store, hash-verified

2251
2252
2253def _send_message(client: Anthropic) -> None:
2254 client.messages.create(
2255 max_tokens=1,
2256 model="claude-opus-4-5",
2257 messages=[{"role": "user", "content": "hi"}],
2258 )
2259
2260
2261@pytest.mark.usefixtures("clean_env", "no_default_creds_file")

Calls 1

createMethod · 0.45

Tested by

no test coverage detected