feat: remove sse

This commit is contained in:
Sun-ZhenXing
2026-02-28 10:05:07 +08:00
parent f7051ac028
commit e78f4dae6c
6 changed files with 131 additions and 131 deletions

View File

@@ -51,7 +51,5 @@ if settings.mcp.enable_helpers_router:
app.include_router(helpers_router)
for name, mcp in MCP_MAP.items():
if settings.mcp.enable_sse:
app.mount(f"/{name}/compatible", mcp.sse_app())
if settings.mcp.enable_streamable_http:
app.mount(f"/{name}", mcp.streamable_http_app())