mod.rs 515 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
//! OpenAI-compatible router implementation
//!
//! This module provides OpenAI-compatible API routing with support for:
//! - Streaming and non-streaming responses
//! - MCP (Model Context Protocol) tool calling
//! - Response storage and conversation management
//! - Multi-turn tool execution loops
//! - SSE (Server-Sent Events) streaming

10
11
pub mod conversations;
pub mod mcp;
12
13
14
15
16
17
18
mod responses;
mod router;
mod streaming;
mod utils;

// Re-export the main router type for external use
pub use router::OpenAIRouter;