Skip to main content

inline::builtin

Description

Implements the Anthropic Messages API with two modes: native passthrough for providers that support /v1/messages natively (e.g. Ollama, vLLM), and automatic translation for all other providers by converting between Anthropic and OpenAI Chat Completions formats.

Configuration

FieldTypeRequiredDefaultDescription
kvstoreKVStoreReferenceNoConfiguration for the key-value store backend used by message batches.
kvstore.namespacestrNoKey prefix for KVStore backends
kvstore.backendstrNoName of backend from storage.backends
max_concurrent_batchesintNo1Maximum number of concurrent message batches to process simultaneously.
max_concurrent_requests_per_batchintNo10Maximum number of concurrent requests to process per batch.

Sample Configuration

kvstore:
namespace: message_batches
backend: kv_default