merge main

This commit is contained in:
jhqxxx
2026-05-09 16:42:26 +08:00
247 changed files with 41360 additions and 11666 deletions
+2
View File
@@ -72,6 +72,8 @@ pub(crate) async fn start_http_server(
// Health check and model info endpoints
builder = builder.mount("/", routes![api::health, api::models]);
// OpenAI-compatible model listing endpoint: /v1/models
builder = builder.mount("/v1", routes![api::models]);
// Shutdown endpoint
builder = builder.manage(shutdown_flag);
builder = builder.mount("/", routes![api::shutdown]);