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

Function create

tests/test_open_telemetry.py:258–261  ·  view source on GitHub ↗
(client: Any, **kwargs: Any)

Source from the content-addressed store, hash-verified

256
257
258def create(client: Any, **kwargs: Any) -> Any:
259 return client.messages.create(
260 max_tokens=1024, messages=[{"role": "user", "content": "Hello"}], model="claude-test", **kwargs
261 )
262
263
264def requests_with_file(file: pathlib.Path) -> Any:

Calls 1

createMethod · 0.45

Tested by

no test coverage detected