Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

fix(live): pass the bot's voice into the Live call

phelix001fe171fbea26c
diff --git a/server/index.ts b/server/index.ts
index 36d0d7c3b8..e313f46af0 100644
--- a/server/index.ts
+++ b/server/index.ts
@@ -12391,7 +12391,7 @@ const internalToolRoutes = createInternalToolRoutes({ engineLimits: { instances:
function liveBotFor(botId: string): LiveBot {
const bot = store.bot(botId);
if (!bot) throw new LiveSessionError("That bot no longer exists.", 404);
- return { name: bot.name, title: bot.title, description: bot.description };
+ return { name: bot.name, title: bot.title, description: bot.description, voice: bot.voice };
}
function liveHistoryFor(threadId: string): LiveHistoryMessage[] {
return liveHistoryFrom(sinceFreshStart(store.activePath(threadId)));