mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-10 02:24:35 +08:00
fix: 移除未使用的类型导出,清理代码
This commit is contained in:
@@ -292,6 +292,14 @@ export async function handleLiteLLMApiRoutes(ctx: RouteContext): Promise<boolean
|
||||
return true;
|
||||
}
|
||||
|
||||
// Clean up health check service state for deleted provider
|
||||
try {
|
||||
const { getHealthCheckService } = await import('../services/health-check-service.js');
|
||||
getHealthCheckService().cleanupProvider(providerId);
|
||||
} catch (cleanupErr) {
|
||||
console.warn('[Provider Delete] Failed to cleanup health check state:', cleanupErr);
|
||||
}
|
||||
|
||||
broadcastToClients({
|
||||
type: 'LITELLM_PROVIDER_DELETED',
|
||||
payload: { providerId, timestamp: new Date().toISOString() }
|
||||
|
||||
Reference in New Issue
Block a user