feat: persist agent chat history

This commit is contained in:
jxxghp
2026-06-18 11:45:50 +08:00
parent bfa2cf5c1f
commit 80d440f6a0
12 changed files with 1406 additions and 14 deletions
+2
View File
@@ -310,6 +310,8 @@ class AgentWebChatRequest(BaseModel):
audio_refs: Optional[List[str]] = Field(default_factory=list)
# 文件附件列表
files: Optional[List[AgentWebChatFile]] = Field(default_factory=list)
# 是否在展示历史中记录本轮用户消息
echo_user: bool = Field(default=True)
class AgentWebChoiceRequest(BaseModel):