toast_api/
lib.rs

1//! Toast API Server
2//!
3//! This library provides CLI clients and an OpenAI-compatible API server built on Claude and DeepSeek.
4
5/// Configuration constants and defaults
6pub mod config;
7
8/// API client for interacting with Claude
9pub mod api;
10
11/// API client for interacting with DeepSeek
12pub mod deepseek;
13
14/// Helper utilities for request/response processing and tool commands
15pub mod utils;
16
17/// CLI implementation for Claude
18pub mod cli;
19
20/// CLI implementation for DeepSeek
21pub mod deepseek_cli;
22
23/// Unified CLI implementation for both providers
24pub mod unified_cli;
25
26/// Server implementation for the OpenAI-compatible API
27pub mod server;
28
29// Re-export common types for easy access
30pub use api::{Claude, Session};
31pub use deepseek::{DeepSeek, Session as DeepSeekSession};
32pub use config::{HAIKU_MODEL, OPUS_MODEL, SONNET_MODEL};