Expand description
Intelligence provider module — LLM provider abstraction.
Ports the Go intelligence package. Provides a Provider trait extending
Intelligence with metadata, a Config struct, and concrete providers:
OpenAI-compatible (gated on intelligence feature) and Claude CLI.
Structs§
- Claude
CliProvider - Implements
Providerby shelling out to theclaudeCLI. Uses whatever authentication Claude Code already has. - Config
- Configuration for creating a
Provider.
Traits§
- Provider
- Extends
Intelligencewith metadata about the backing LLM.
Functions§
- new
- Creates a
Providerfrom the givenConfig. - new_
claude_ cli_ config - Creates a
Configfor the Claude CLI provider (convenience).