mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-21 12:49: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):
|
class GetTranscriptTopic(BaseModel):
|
||||||
|
id: str
|
||||||
title: str
|
title: str
|
||||||
summary: str
|
summary: str
|
||||||
timestamp: float
|
timestamp: float
|
||||||
@@ -149,6 +150,7 @@ class GetTranscriptTopic(BaseModel):
|
|||||||
for segment in transcript.as_segments()
|
for segment in transcript.as_segments()
|
||||||
]
|
]
|
||||||
return cls(
|
return cls(
|
||||||
|
id=topic.id,
|
||||||
title=topic.title,
|
title=topic.title,
|
||||||
summary=topic.summary,
|
summary=topic.summary,
|
||||||
timestamp=topic.timestamp,
|
timestamp=topic.timestamp,
|
||||||
|
|||||||
Reference in New Issue
Block a user