fix: restore rag chat sources and follow-up metadata

This commit is contained in:
wren
2026-05-18 15:25:05 +08:00
parent cb5d199128
commit 752b66ff82
3 changed files with 73 additions and 6 deletions
@@ -34,6 +34,7 @@ class RagMessageItemVO(BaseModel):
answer: str = Field(...)
feedback: dict | None = Field(None)
retrieverResources: list[dict] | None = Field(None)
suggestedQuestions: list[str] = Field(default_factory=list)
createdAt: int = Field(0)