Skip to main content

Module provider

Module provider 

Source

Modules§

anthropic
detect
Provider auto-detection: scan environment for API keys, test connectivity with lightweight API calls, rank providers by cost tier (free > paid), and return a list of ready-to-use providers.
discovery
ollama
openai_compat
responses
sse_buffer
Reassemble newline-delimited frames across arbitrary network chunks.

Structs§

BrainRequest
ModelCaps
Msg
PromptCacheConfig
ToolSpec

Enums§

BrainError
BrainEvent
ContentBlock
ImageSource
LatencyClass
PromptCacheTtl

Traits§

Brain
Uniform interface over every model vendor. Normalizes messages, streaming, and tool-calling so the rest of the system is vendor-agnostic.

Type Aliases§

BrainStream