feat: 新增 multi-llm 路由智能体及 API 端点

添加 multi-llm 路由智能体(LangGraph),支持多 LLM 分发能力;在 Gateway 中注册 /api/multi-llm 路由,并豁免其 CSRF 和认证校验;同时新增 asyncmy 依赖和聊天流格式文档。

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
xuhdandClaude Sonnet 4.6 committed 2026-05-21 18:48:16 +08:00
1 parent a8a545690f
commit adeace0f7b
15 files changed
+3789 -2767

No files matched your search

@@ -41,6 +41,9 @@ def should_check_csrf(request: Request) -> bool:
# Exempt /api/v1/auth/me endpoint
if path == "/api/v1/auth/me":
return False
# Exempt multi-llm streaming endpoint (API-to-API calls, no browser session)
if path.startswith("/api/multi-llm"):
return False
return True