mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 20:21:09 +02:00
refactor(mana/web): migrate dreams + memoro to /api/v1/voice/transcribe
The per-module /api/v1/memoro/transcribe and /api/v1/dreams/transcribe endpoints were literal copies that proxied to mana-stt. Now that the generic /api/v1/voice/transcribe endpoint exists (added with notes), point both stores at it and delete the duplicates. -200 LOC, one place to update STT auth or response shape from now on. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
b841a24e73
commit
b48c9ff80f
6 changed files with 10 additions and 216 deletions
|
|
@ -113,10 +113,10 @@ The generator reads `.env.development` and creates app-specific `.env` files wit
|
|||
|
||||
### Speech-to-Text (mana-stt)
|
||||
|
||||
Used by the unified Mana web app's voice features (Memoro recording, Dreams voice capture, etc).
|
||||
The browser never talks to mana-stt directly — requests go through the SvelteKit server-side proxy
|
||||
(`/api/v1/memoro/transcribe`, `/api/v1/dreams/transcribe`) which attaches the API key from
|
||||
`MANA_STT_API_KEY`. Keep that key out of the browser bundle.
|
||||
Used by the unified Mana web app's voice features (Memoro recording, Dreams voice capture, Notes
|
||||
voice memos, Todo voice quick-add, etc). The browser never talks to mana-stt directly — requests
|
||||
go through the SvelteKit server-side proxy at `/api/v1/voice/transcribe` which attaches the API
|
||||
key from `MANA_STT_API_KEY`. Keep that key out of the browser bundle.
|
||||
|
||||
| Variable | Description | Default |
|
||||
|----------|-------------|---------|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue