This commit is contained in:
2025-08-19 13:50:59 +08:00
parent 74c0c22b96
commit 217f5b2266
4 changed files with 4 additions and 4 deletions

View File

@@ -31,8 +31,8 @@ async def lifespan(_: FastAPI):
app = FastAPI(_=lifespan)
@app.post("/api/chat")
async def chat(request: fastapi.Request):
@app.post("/api/teaching_chat")
async def teaching_chat(request: fastapi.Request):
"""
根据用户输入的语句,查询相关历史对话
然后调用大模型进行回答