huskies: merge 768

This commit is contained in:
dave
2026-04-28 10:06:18 +00:00
parent fb5a21cfbb
commit 0c2789b2c1
11 changed files with 13 additions and 209 deletions
-6
View File
@@ -8,7 +8,6 @@ pub mod bot_config;
pub mod chat;
pub mod context;
pub mod events;
pub mod health;
pub mod identity;
pub mod io;
pub mod mcp;
@@ -30,7 +29,6 @@ use bot_command::BotCommandApi;
use bot_config::BotConfigApi;
use chat::ChatApi;
use context::AppContext;
use health::HealthApi;
use io::IoApi;
use model::ModelApi;
use poem::EndpointExt;
@@ -92,7 +90,6 @@ pub fn build_routes(
"/mcp",
post(mcp::mcp_post_handler).get(mcp::mcp_get_handler),
)
.at("/health", get(health::health))
.at("/identity", get(identity::identity_handler))
.at(
"/oauth/authorize",
@@ -204,7 +201,6 @@ type ApiTuple = (
ChatApi,
AgentsApi,
SettingsApi,
HealthApi,
BotCommandApi,
wizard::WizardApi,
BotConfigApi,
@@ -222,7 +218,6 @@ pub fn build_openapi_service(ctx: Arc<AppContext>) -> (ApiService, ApiService) {
ChatApi { ctx: ctx.clone() },
AgentsApi { ctx: ctx.clone() },
SettingsApi { ctx: ctx.clone() },
HealthApi,
BotCommandApi { ctx: ctx.clone() },
wizard::WizardApi { ctx: ctx.clone() },
BotConfigApi { ctx: ctx.clone() },
@@ -239,7 +234,6 @@ pub fn build_openapi_service(ctx: Arc<AppContext>) -> (ApiService, ApiService) {
ChatApi { ctx: ctx.clone() },
AgentsApi { ctx: ctx.clone() },
SettingsApi { ctx: ctx.clone() },
HealthApi,
BotCommandApi { ctx: ctx.clone() },
wizard::WizardApi { ctx: ctx.clone() },
BotConfigApi { ctx },