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

Function _send_message

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

Source from the content-addressed store, hash-verified

2019
2020
2021def _send_message(client: Anthropic) -> None:
2022 client.messages.create(
2023 max_tokens=1,
2024 model="claude-opus-4-5",
2025 messages=[{"role": "user", "content": "hi"}],
2026 )
2027
2028
2029@pytest.mark.usefixtures("clean_env", "no_default_creds_file")

Calls 1

createMethod · 0.45

Tested by

no test coverage detected