language_barrier_core/
lib.rs

1// This is the main library file that re-exports the public API
2// and defines the module structure.
3
4pub mod chat;
5pub mod compactor;
6pub mod error;
7pub mod message;
8pub mod model;
9pub mod provider;
10pub mod secret;
11pub mod token;
12pub mod tool;
13
14// Re-export the main types for convenient usage
15pub use chat::Chat;
16pub use compactor::{ChatHistoryCompactor, DropOldestCompactor};
17pub use error::{Error, Result, ToolError};
18pub use llm_service::{HTTPLlmService, LLMService};
19pub use message::{Content, Message, ToolCall};
20pub use model::{Claude, Gemini, Mistral, ModelInfo, OpenAi};
21pub use secret::Secret;
22pub use token::TokenCounter;
23pub use tool::{LlmToolInfo, Tool, ToolDefinition};
24pub mod llm_service;