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

Function _send_message

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

Source from the content-addressed store, hash-verified

2011
2012
2013def _send_message(client: Anthropic) -> None:
2014 client.messages.create(
2015 max_tokens=1,
2016 model="claude-opus-4-5",
2017 messages=[{"role": "user", "content": "hi"}],
2018 )
2019
2020
2021@pytest.mark.usefixtures("clean_env", "no_default_creds_file")

Calls 1

createMethod · 0.45

Tested by

no test coverage detected