Documentation
¶
Overview ¶
Package provider holds the concrete model adapters and adapter-only helpers.
After change 0018, every provider-neutral type (Request, Event, Message, Block, BlockKind, Role, ToolSchema, ToolCall, Usage, EventKind) and the Provider interface live in internal/ports — that is the canonical surface the core depends on. This package retains only what an adapter author needs: the anthropic and openaicompat backends, the prefix-select registry, and the shared SSE frame reader in this file. Core packages must not import here; internal/ports/leak_guard_test.go enforces that.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package anthropic is the Anthropic Messages API adapter (ADR-0005, T-012).
|
Package anthropic is the Anthropic Messages API adapter (ADR-0005, T-012). |
|
Package openaicompat is the OpenAI-compatible Chat Completions adapter (ADR-0005, T-013).
|
Package openaicompat is the OpenAI-compatible Chat Completions adapter (ADR-0005, T-013). |
|
Package selectadapter is the adapter-selection composition layer (ADR-0005, T-014).
|
Package selectadapter is the adapter-selection composition layer (ADR-0005, T-014). |
Click to show internal directories.
Click to hide internal directories.