Files
codex-proxy-rs/backend/crates/gateway-api/src/admin/plugins/mod.rs
T
ZyyandCodex be6aa130d2 feat(gateway): integrate Antigravity and reorganize architecture
Preserve main quota, Guardian, and WebSocket fixes alongside the new provider and module organization.

Co-authored-by: Codex <noreply@openai.com>
2026-11-25 16:03:37 +08:00

22 lines
526 B
Rust

//! 插件管理 HTTP 路由的组合入口与共用请求类型
mod artifacts;
mod distribution;
mod instances;
mod management;
pub(super) use management::{model_router, public_router};
#[derive(serde::Deserialize)]
#[serde(deny_unknown_fields)]
struct IdRequest {
id: String,
}
pub(super) fn router<S: crate::SessionState + Clone + Send + Sync + 'static>() -> axum::Router<S> {
artifacts::router()
.merge(distribution::router())
.merge(instances::router())
.merge(management::router())
}