接口修改

This commit is contained in:
董宏凯 committed 2026-05-25 14:14:31 +08:00
1 parent 0b5cc2d639
commit 8f9451a24b
4 files changed
+1043

No files matched your search

@@ -40,6 +40,7 @@ from app.gateway.routers import (
multi_agent,
notifications,
public_scheduled_tasks,
recommend,
recommended_questions,
runs,
scheduled_tasks,
@@ -871,6 +872,11 @@ This gateway provides custom endpoints for models, MCP configuration, skills, an
# roundtable as its initial intent.
app.include_router(intent.router)
# Agent recommendation (between Step 1 and Step 2): given the intent
# summary + a frontend-filtered candidate pool, the built-in
# roundtable-recommender picks 2-6 agents most relevant to the task.
app.include_router(recommend.router)
@app.get("/health", tags=["health"])
async def health_check() -> dict:
"""Health check endpoint.