Repository navigation
Live dictation through Gecko Suite (SN-9) - #223
Merged
Merged
Conversation
With AI through Gecko Suite, Notes' live (Deepgram) dictation streams to the suite's /api/v1/ai/speech/stt/stream instead of Notes' own relay: same protocol, but the suite holds the Deepgram key and counts the minutes under Notes. That leaves Notes' own Deepgram key unneeded for dictation, which M8 relies on. In local mode nothing changes. - utils/dictationStream.ts: where the stream goes, with the chosen Deepgram model and app=notes; deepgramStream uses it, and says "set up in Gecko Suite" when the suite has no key. - The AI-backend setting is read with the settings, so it is known before the first dictation. - CSP: connect-src gains wss://suite.geckopico.com. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V1geD2ELWgL2sDpxYbx3Aw
davior
marked this pull request as ready for review
November 5, 2026 00:06
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
With
AI_BACKEND=suite, Notes' live (Deepgram) dictation now streams to Gecko Suite's/api/v1/ai/speech/stt/streaminstead of Notes' own relay (SN-9).Changes:
utils/dictationStream.tsworks out where the stream goes. In suite mode it's the suite, with your chosen Deepgram model andapp=notes; otherwise Notes'/stt-stream/ws, as today.deepgramStream.tsuses it.connect-srcgainswss://suite.geckopico.com.Not in this PR: voice mode (the Flux conversation,
flux_stream) still uses Notes' own Deepgram key. It's a different Deepgram API, and moving it to the suite is a separate piece for M8.Test plan
cd frontend && npm test && npm run build: 236 tests pass, build succeeds. The new tests inutils/dictationStream.test.tscover the stream address in suite mode (suite, app, model, encoded token) and in local mode (Notes' own relay).cd backend && pytest -q: 1429 passed, 1 skipped. There's no backend change.Deployment
Generated by Claude Code