Skip to main content

Module intelligence

Module intelligence 

Source
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§

ClaudeCliProvider
Implements Provider by shelling out to the claude CLI. Uses whatever authentication Claude Code already has.
Config
Configuration for creating a Provider.

Traits§

Provider
Extends Intelligence with metadata about the backing LLM.

Functions§

new
Creates a Provider from the given Config.
new_claude_cli_config
Creates a Config for the Claude CLI provider (convenience).