Skip to main content

Module anthropic

Module anthropic 

Source
Expand description

The Anthropic Messages API: request encoding (prompt caching, the server-side fallback beta), reply decoding and the error table.

Structs§

Anthropic
The Messages API wire format.

Constants§

API_VERSION
anthropic-version header.
BASE_URL
Default API base.
FALLBACK_BETA
Beta header of fallbacks: "default" (server-side refusal fallback).