mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 20:29:06 +00:00
hotfix/server: add id in GetTranscriptTopic for the frontend to work
This commit is contained in:
@@ -117,6 +117,7 @@ class GetTranscriptSegmentTopic(BaseModel):
|
||||
|
||||
|
||||
class GetTranscriptTopic(BaseModel):
|
||||
id: str
|
||||
title: str
|
||||
summary: str
|
||||
timestamp: float
|
||||
@@ -149,6 +150,7 @@ class GetTranscriptTopic(BaseModel):
|
||||
for segment in transcript.as_segments()
|
||||
]
|
||||
return cls(
|
||||
id=topic.id,
|
||||
title=topic.title,
|
||||
summary=topic.summary,
|
||||
timestamp=topic.timestamp,
|
||||
|
||||
Reference in New Issue
Block a user