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

Function _send_message

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

Source from the content-addressed store, hash-verified

1878
1879
1880def _send_message(client: Anthropic) -> None:
1881 client.messages.create(
1882 max_tokens=1,
1883 model="claude-opus-4-5",
1884 messages=[{"role": "user", "content": "hi"}],
1885 )
1886
1887
1888@pytest.mark.usefixtures("clean_env", "no_default_creds_file")

Calls 1

createMethod · 0.45

Tested by

no test coverage detected