feat: integrate comments UI into chat messages

This commit is contained in:
CREDO23 2026-01-16 15:09:51 +02:00
parent f591a872cf
commit 6b5468bd7d
7 changed files with 74 additions and 29 deletions

View file

@ -55,6 +55,8 @@ class CommentReplyResponse(BaseModel):
created_at: datetime
updated_at: datetime
is_edited: bool
can_edit: bool = False
can_delete: bool = False
model_config = ConfigDict(from_attributes=True)
@ -70,6 +72,8 @@ class CommentResponse(BaseModel):
created_at: datetime
updated_at: datetime
is_edited: bool
can_edit: bool = False
can_delete: bool = False
reply_count: int
replies: list[CommentReplyResponse] = []