[router] Refactor OpenAI router: split monolithic file and move location (#11359)

This commit is contained in:
Keyang Ru
2025-10-08 21:46:39 -07:00
committed by GitHub
parent 368fd20622
commit 84768d1017
12 changed files with 4492 additions and 4552 deletions

View File

@@ -19,12 +19,13 @@ pub mod factory;
pub mod grpc;
pub mod header_utils;
pub mod http;
pub mod openai; // New refactored OpenAI router module
pub mod router_manager;
pub use factory::RouterFactory;
// Re-export HTTP routers for convenience (keeps routers::openai_router path working)
pub use http::{openai_router, pd_router, pd_types, router};
// Re-export HTTP routers for convenience
pub use http::{pd_router, pd_types, router};
/// Core trait for all router implementations
///