Skip to main content

inline::builtin

Description

Implements the Anthropic Messages API by delegating to the inference API's anthropic_messages() method. OpenAIMixin provides default translation via openai_chat_completion. Providers with native /v1/messages support (e.g., Ollama, vLLM) override with direct passthrough. Message batch operations are implemented locally.

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