Skip to main content

Crate meerkat_client

Crate meerkat_client 

Source
Expand description

meerkat-client — shim re-exports.

The LLM wire-client trait + plumbing moved to meerkat-llm-core; per-provider clients (AnthropicClient, OpenAiClient, GeminiClient, OpenAiLiveClient, OpenAiCompatibleClient) moved to meerkat-anthropic, meerkat-openai, meerkat-gemini. Provider-runtime types moved to meerkat-core::provider_runtime. Auth primitives moved to meerkat-auth-core.

This crate is retained as a thin shim so that downstream meerkat_client::* imports continue to work without an import sweep. B2 split (2026-04-18).

Modules§

adapter
anthropic
block_assembler
error
factory
gemini
openai
openai_compatible
realtime_session
types

Structs§

AnthropicClient
Client for Anthropic API
BlockAssembler
Assembler for building ordered blocks from streaming events.
BlockKey
Typed key into the block list - prevents mixing up different indices.
GeminiClient
Client for Google Gemini API
LlmClientAdapter
Shared adapter for streaming LLM clients.
LlmRequest
Request to the LLM
LlmResponse
Accumulated response from LLM stream
OpenAiClient
Client for OpenAI Responses API
OpenAiCompatibleClient
OpenAI-compatible client for self-hosted servers.
ProviderRuntimeRegistry
Registry mapping Provider → runtime implementation.
RealtimeExternalSessionTarget
Advanced/internal target for attaching to an existing provider session.
ResolverEnvironment
Explicit environment passed to provider resolvers.
TestClient
Simple test client that emits a deterministic response.
ToolCallBuffer
Buffer for accumulating tool call arguments during streaming

Enums§

FactoryError
Error types surfaced by LLM-client construction.
LlmDoneOutcome
Normalized streaming events from LLM
LlmError
Errors from LLM providers
LlmEvent
Normalized streaming events from LLM
OpenAiCompatibleMode
RealtimeSessionEvent
Provider-neutral realtime event stream.
StreamAssemblyError
Errors that can occur during stream assembly. Returned to caller, who decides whether to skip, count, or abort.

Traits§

LlmClient
Abstraction over LLM providers
RealtimeSession
Provider-neutral realtime session surface.
RealtimeSessionFactory
Factory for provider-neutral realtime sessions.