From e215368feb6814d3242b06a7757e5224f5aa2420 Mon Sep 17 00:00:00 2001 From: opencode-agent Date: Tue, 4 Aug 2026 12:08:56 +0000 Subject: [PATCH] fix(transcription): empty whisperPrompt default --- src/config.ts | 3 +-- tests/config.test.ts | 8 ++------ 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/src/config.ts b/src/config.ts index b9fb6c3..7525384 100644 --- a/src/config.ts +++ b/src/config.ts @@ -5,8 +5,7 @@ export const DEFAULTS: AppConfig = { groqApiKey: "", model: "whisper-large-v3", language: "", - whisperPrompt: - "opencode, voice, dictation, transcribe, command, terminal, commit, branch, pull, push, merge, issue, prompt", + whisperPrompt: "", endpoint: "https://api.groq.com/openai/v1/audio/transcriptions", temperature: 0, autoSubmit: false, diff --git a/tests/config.test.ts b/tests/config.test.ts index 9455c89..ff2d291 100644 --- a/tests/config.test.ts +++ b/tests/config.test.ts @@ -26,12 +26,8 @@ describe("DEFAULTS", () => { expect(DEFAULTS.language).toBe(""); }); - it("should have non-empty whisperPrompt", () => { - expect(DEFAULTS.whisperPrompt.length).toBeGreaterThan(50); - }); - - it("should have whisperPrompt under 120 characters (terms only, no sentences)", () => { - expect(DEFAULTS.whisperPrompt.length).toBeLessThan(120); + it("should have empty whisperPrompt by default", () => { + expect(DEFAULTS.whisperPrompt).toBe(""); }); it("should have autoSubmit disabled by default", () => {