新增对话接口

This commit is contained in:
zcr
2026-03-12 13:13:52 +08:00
parent 7042d428fa
commit a6393df0e3
35 changed files with 843 additions and 1163 deletions

View File

@@ -5,7 +5,7 @@ from fastapi import FastAPI
from fastapi.middleware.cors import CORSMiddleware
from logging_env import LOGGER_CONFIG_DICT
from src.routers import chat
from src.routers import chat, deep_agent_chat
logging.config.dictConfig(LOGGER_CONFIG_DICT)
@@ -25,6 +25,7 @@ app_server.add_middleware(
# 包含路由
app_server.include_router(chat.router)
app_server.include_router(deep_agent_chat.router)
@app_server.get("/")