feat:增加查询用户历史消息功能

This commit is contained in:
2026-05-31 21:20:25 +08:00
parent c45ce61e9c
commit b04242bbb2
6 changed files with 57 additions and 7 deletions

View File

@@ -3,4 +3,9 @@ from pydantic import BaseModel
class ChatRequest(BaseModel):
username: str
message: str
thread_id: str
class SessionMessageResponse(BaseModel):
username: str
title: str
thread_id: str