优化rescourse读取方式
This commit is contained in:
parent
ad554b2d80
commit
f6e8f569ed
@ -256,11 +256,7 @@ app.include_router(bot_manager.router)
|
|||||||
app.include_router(payment.router)
|
app.include_router(payment.router)
|
||||||
app.include_router(memory.router)
|
app.include_router(memory.router)
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
<<<<<<< HEAD
|
|
||||||
|
|
||||||
>>>>>>> 319bd8cd59268f2b16dce2dfa14820cb34c4c8b8
|
|
||||||
# 注册语音对话路由
|
# 注册语音对话路由
|
||||||
app.include_router(voice.router)
|
app.include_router(voice.router)
|
||||||
|
|
||||||
@ -270,22 +266,12 @@ app.include_router(file_manager_router)
|
|||||||
# 注册知识库API路由
|
# 注册知识库API路由
|
||||||
app.include_router(knowledge_base.router, prefix="/api/v1/knowledge-base", tags=["knowledge-base"])
|
app.include_router(knowledge_base.router, prefix="/api/v1/knowledge-base", tags=["knowledge-base"])
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
|
|
||||||
# 挂载 WsgiDAV(WSGI 应用通过 WSGIMiddleware 集成到 ASGI)
|
# 挂载 WsgiDAV(WSGI 应用通过 WSGIMiddleware 集成到 ASGI)
|
||||||
|
|
||||||
# MCP App resources endpoint
|
|
||||||
app.include_router(mcp_resources_router)
|
|
||||||
=======
|
|
||||||
|
|
||||||
# 挂载 WsgiDAV(WSGI 应用通过 WSGIMiddleware 集成到 ASGI)
|
|
||||||
|
|
||||||
>>>>>>> feature/mcp-ui
|
|
||||||
# Register the file management API routes
|
# Register the file management API routes
|
||||||
app.include_router(file_manager_router)
|
app.include_router(file_manager_router)
|
||||||
|
|
||||||
>>>>>>> 319bd8cd59268f2b16dce2dfa14820cb34c4c8b8
|
|
||||||
# Mount WsgiDAV (the WSGI app is integrated into ASGI via WSGIMiddleware)
|
# Mount WsgiDAV (the WSGI app is integrated into ASGI via WSGIMiddleware)
|
||||||
|
|
||||||
from starlette.middleware.wsgi import WSGIMiddleware
|
from starlette.middleware.wsgi import WSGIMiddleware
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user