Skip to main content

Crate siumai_provider_anthropic_compatible

Crate siumai_provider_anthropic_compatible 

Source
Expand description

siumai-provider-anthropic-compatible

Legacy crate name for the Anthropic Messages protocol mapping.

Downstream code should prefer siumai-protocol-anthropic. This crate remains as a compatibility alias and re-exports the full public surface from siumai-protocol-anthropic.

Modules§

auth
Authentication helpers and token providers. This module defines a minimal trait to supply Bearer tokens (e.g., for Vertex AI).
builder
Builder utilities shared across provider crates.
client
Client Module
core
Core Abstractions
defaults
Default Configuration Values
encoding
Provider wire-format encoders.
error
Error handling (re-export).
execution
Execution Layer - Unified Public API
hosted_tools
Provider-defined tools (core crate).
observability
Observability entrypoint: unified namespace for tracing and telemetry.
provider_metadata
Protocol-owned typed metadata views. Typed response metadata (protocol-owned).
retry
Retry module (ergonomic namespace)
retry_api
Public Retry API Facade
standards
Protocol standards owned by this crate.
streaming
Streaming Module
tools
Provider-defined tool factories (re-export).
traits
Core Trait Definitions
types
Core data type definitions (re-export).
utils
Utility modules for siumai

Structs§

ChatResponse
Chat response from the provider
CommonParams
Common AI parameters

Enums§

LlmError
The primary error type for the LLM library.