OnlineAPIClient

LLMClient implementation for the Anthropic Messages API with SSE streaming.

Declared in src/libs/libllm/llm/clients/OnlineAPIClient.hpp
Inherits LLMClient
Group libllm

Detailed description

Sends chat requests to an online LLM API endpoint via HTTP POST and supports both single-response and SSE-streamed token delivery. Handles request lifecycle, error mapping, and token counting for usage tracking.

See also LLMClient, AnthropicModelCatalog.

In this section