Skip to main content

llm/
lib.rs

1#![doc = include_str!("../README.md")]
2
3pub mod alloyed;
4pub mod catalog;
5mod chat_message;
6mod context;
7mod credential;
8pub mod error;
9mod llm_response;
10#[cfg(feature = "oauth")]
11pub mod oauth;
12pub mod parser;
13pub mod provider;
14pub mod providers;
15mod reasoning;
16pub mod testing;
17mod tools;
18pub mod types;
19
20pub use catalog::LlmModel;
21pub use chat_message::{AssistantReasoning, ChatMessage, ContentBlock, EncryptedReasoningContent};
22pub use context::Context;
23pub use credential::ProviderCredential;
24pub use error::{ContextOverflowError, LlmError, Result};
25pub use llm_response::{LlmResponse, StopReason};
26pub use provider::{LlmResponseStream, ProviderFactory, StreamingModelProvider};
27pub use reasoning::ReasoningEffort;
28pub use tools::*;
29
30#[cfg(feature = "codex")]
31pub use providers::codex::perform_codex_oauth_flow;