Skip to main content

Module llm

Module llm 

Source

Re-exports§

pub use self::anthropic::*;
pub use self::key_pool::*;
pub use self::openai::*;
pub use self::resilience::*;

Modules§

anthropic
key_pool
oai_translate
openai
resilience
sse
stream

Traits§

LlmProvider

Functions§

create_provider
is_context_overflow_error
Provider-agnostic detection of a “request exceeds the model context window” error. The agent loop compacts the session and retries once when it sees one of these instead of failing the turn.