Compare commits

..
Author SHA1 Message Date
jahruz67andGitHub b62d41d646 Merge pull request #11 from jahruz67/fix/html-parse-error
Fix HTML parsing error by removing control characters
2026-07-29 15:21:19 -07:00
Vibe Nuage Agentandjahruz67 62e679dc56 Fix transcriber.NewClient call: add missing MistralAPIKey parameter
The NewClient function expects 5 parameters (groqAPIKey, mistralAPIKey,
whisperModel, aiModel, aiPrompt) but was being called with only 4.

Fixes build error: not enough arguments in call to transcriber.NewClient
  have (string, string, string, string)
  want (string, string, string, string, string)

Co-authored-by: jahruz67 <jahruz67@users.noreply.github.com>
2026-07-29 22:17:56 +00:00
Vibe Nuage Agentandjahruz67 83ef777dc0 Fix HTML parsing error by removing control characters
Replace control characters (\u0012 Form Feed and \u0013 Carriage Return) with
proper HTML entities and clean text in index.html to fix parse5 parsing error.

- Line 106-107: Replace \u0012 with &gt; for menu navigation separators
- Line 224: Remove \u0013 control character

Fixes vite build error: Unable to parse HTML; parse5 error code
control-character-in-input-stream

Co-authored-by: jahruz67 <jahruz67@users.noreply.github.com>
2026-07-29 22:13:09 +00:00
jahruz67andGitHub 53a1559f2f Merge pull request #10 from jahruz67/vibe/mistral-provider-4e9fb5
Add Mistral AI as inference provider with Voxtral Small transcription model
2026-07-29 15:09:59 -07:00
2 changed files with 4 additions and 3 deletions
+1
View File
@@ -543,6 +543,7 @@ func (a *App) SaveSettings(settings map[string]interface{}) string {
// Since GetSettings masks the key, we only update if it's not still the masked value.
a.transcriber = transcriber.NewClient(
a.config.GroqAPIKey,
a.config.MistralAPIKey,
a.config.WhisperModel,
a.config.AIModel,
a.config.AIPrompt,
+3 -3
View File
@@ -103,8 +103,8 @@
<button onclick="copyLinuxPressCommand()">Copy</button>
</div>
</div>
<p class="hint" style="margin-top: 10px;">GNOME: Settings  Keyboard  Custom Shortcuts  Add a shortcut with the copied command.</p>
<p class="hint">KDE: System Settings  Shortcuts  Command/URL  Add a shortcut with the copied command.</p>
<p class="hint" style="margin-top: 10px;">GNOME: Settings &gt; Keyboard &gt; Custom Shortcuts &gt; Add a shortcut with the copied command.</p>
<p class="hint">KDE: System Settings &gt; Shortcuts &gt; Command/URL &gt; Add a shortcut with the copied command.</p>
</details>
</div>
@@ -221,7 +221,7 @@
<div id="whisperInstalled" style="display: none;">
<div style="background: var(--green-dim); border: 1px solid rgba(61, 186, 110, 0.25); border-radius: 7px; padding: 13px 16px; margin-bottom: 14px;">
<div style="color: var(--green); font-weight: 500; font-size: 13px;"> Offline Whisper installed</div>
<div style="color: var(--green); font-weight: 500; font-size: 13px;"> Offline Whisper installed</div>
<div style="font-size: 12px; color: var(--text-2); margin-top: 4px;">
Model: <span id="installedModel"></span>
</div>