This commit is contained in:
2026-03-02 15:35:02 +08:00
parent a158cbbe9c
commit 460c2e87b8
26 changed files with 2040 additions and 265 deletions
+13
View File
@@ -0,0 +1,13 @@
from pydantic import BaseModel
class ChatMessageResponseDTO(BaseModel):
"""流式消息响应模型"""
id: str
event: str = "message"
task_id: str
message_id: str
conversation_id: str
answer: str
created_at: int