diff --git a/apps/bot/src/bot.ts b/apps/bot/src/bot.ts index cc433140..45743f2b 100644 --- a/apps/bot/src/bot.ts +++ b/apps/bot/src/bot.ts @@ -75,7 +75,7 @@ import { eq, sql } from "drizzle-orm"; import { choiceToAnswer, esc, renderAnswered, renderQuestion } from "./render.ts"; import { TelegramApi, TelegramError, type InlineButton, type TgCallbackQuery, type TgMessage, type TgUpdate } from "./telegram.ts"; import { dropDraft, loadDraft, parseStoryText, saveDraft, splitStory, updateDraft, type Draft } from "./drafts.ts"; -import { transcribe, transcribeConfig, TranscribeError } from "./transcribe.ts"; +import { transcribe, transcribeConfig, TranscribeError } from "@peppa/core"; /** Longest voice note the bot transcribes (seconds). */ const VOICE_MAX_SEC = 5 * 60; diff --git a/apps/web/app/(app)/actions.ts b/apps/web/app/(app)/actions.ts index c92a609b..b1bc8a67 100644 --- a/apps/web/app/(app)/actions.ts +++ b/apps/web/app/(app)/actions.ts @@ -15,7 +15,6 @@ import { resolveTask, revokeApp, createPairingCode, - getSetting, unpairTelegram, getIncident, getProject as getProjectByKey, diff --git a/apps/web/app/(app)/chats/[chat]/page.tsx b/apps/web/app/(app)/chats/[chat]/page.tsx index 174cf728..2cbd9728 100644 --- a/apps/web/app/(app)/chats/[chat]/page.tsx +++ b/apps/web/app/(app)/chats/[chat]/page.tsx @@ -9,6 +9,7 @@ import { LiveRefresh } from "@/components/LiveRefresh"; import { AgentBadge } from "@/components/AgentBadge"; import { ago, Empty, Flash, PageHeader } from "@/components/common"; import { Hidden, QuestionCard } from "@/components/cards"; +import { Dictate } from "@/components/Dictate"; import { Workspace } from "@/components/Workspace"; import { Button } from "@/components/ui/button"; import { Textarea } from "@/components/ui/input"; @@ -252,8 +253,9 @@ export default async function ChatPage({ params, searchParams }: { params: Promi ) : (
-