Skip to main content

Module anthropic

Module anthropic 

Source
Expand description

Anthropic Messages API adapter. RFC 0006 §two-adapters.

The second (and last) in-binary dialect. Pure translation, no I/O. Differs from OpenAI in three ways the loop never sees: system is a top-level field (not a message), tool calls/results are content blocks, and tool arguments are a JSON object (not a stringified one).

Constants§

DEFAULT_PATH

Functions§

build_request
parse_response