Skip to main content

Module llm

Module llm 

Source

Re-exports§

pub use cli_provider as claude_cli;

Modules§

anthropic
Anthropic API provider.
cli_provider
Generic subprocess-based LLM provider.
mistral
Mistral AI native API provider.
openai
OpenAI API provider (also works with any OpenAI-compatible API).
vertex

Structs§

LlmConfig
Message
MockLlmProvider
Mock LLM provider for testing. Returns the pre-configured response regardless of input.
SequenceMockLlmProvider
Mock LLM provider that returns responses from a queue. When the queue is exhausted, returns the fallback response. Useful for testing multi-step flows like synthesis (compose → codegen → recompose).

Enums§

LlmError
Role

Traits§

LlmProvider
Trait for LLM text completion.