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

Function short_circuit_message

tests/test_middleware.py:362–363  ·  view source on GitHub ↗
(*, model: str = "claude-opus-4-6")

Source from the content-addressed store, hash-verified

360
361
362def short_circuit_message(*, model: str = "claude-opus-4-6") -> Message:
363 return Message.construct(**message_body(model=model))
364
365
366def file_metadata_body() -> dict[str, Any]:

Calls 2

message_bodyFunction · 0.85
constructMethod · 0.45

Tested by

no test coverage detected