From 3424550ea9f477d78a7b789b2b98fd6d210453cd Mon Sep 17 00:00:00 2001 From: Mathieu Virbel Date: Thu, 2 Nov 2023 19:06:30 +0100 Subject: [PATCH] hotfix/server: add id in GetTranscriptTopic for the frontend to work --- server/reflector/views/transcripts.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/reflector/views/transcripts.py b/server/reflector/views/transcripts.py index f83bc6de..f724bcdc 100644 --- a/server/reflector/views/transcripts.py +++ b/server/reflector/views/transcripts.py @@ -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,