添加 Copilot 聊天流式响应接口及测试
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
from fastapi import APIRouter
|
||||
from app.api.v1.endpoints import (
|
||||
auth,
|
||||
copilot,
|
||||
project,
|
||||
simulation,
|
||||
scada,
|
||||
@@ -18,7 +19,6 @@ from app.api.v1.endpoints import (
|
||||
user_management, # 新增:用户管理
|
||||
audit, # 新增:审计日志
|
||||
meta,
|
||||
copilot_chat,
|
||||
)
|
||||
from app.api.v1.endpoints.network import (
|
||||
general,
|
||||
@@ -113,4 +113,4 @@ api_router.include_router(project_data.router, tags=["Project Data"])
|
||||
api_router.include_router(extension.router, tags=["Extension"])
|
||||
|
||||
# Copilot Chat
|
||||
api_router.include_router(copilot_chat.router, prefix="/copilot", tags=["Copilot"])
|
||||
api_router.include_router(copilot.router, prefix="/copilot", tags=["Copilot"])
|
||||
|
||||
Reference in New Issue
Block a user