Skip to main content

Module anthropic

Module anthropic 

Source
Expand description

Anthropic Messages backend with SSE streaming.

Used for ANTHROPIC_API_KEY (and compatible env aliases). The rest of the presets go through the OpenAI-compatible backend in openai.rs.

Structs§

Backend
How to reach and authenticate one Anthropic backend.

Functions§

invoke
Stream one completion from the Anthropic Messages endpoint.