Add localhost->127.0.0.1 fallback for transcription fetch
This commit is contained in:
+16
-1
@@ -6174,6 +6174,21 @@
|
||||
"docs/plans/state.json"
|
||||
],
|
||||
"test_status": "pnpm test:run src/tools/builtin/audio-transcribe.test.ts src/models/media.test.ts"
|
||||
},
|
||||
"audio-transcription-localhost-ipv4-fallback": {
|
||||
"status": "completed",
|
||||
"date": "2026-02-23",
|
||||
"updated": "2026-02-23",
|
||||
"summary": "Added automatic fallback from `localhost` to `127.0.0.1` for transient transcription fetch failures and clarified connectivity-oriented error text so assistants do not misdiagnose endpoint outages as missing audio payloads.",
|
||||
"files_modified": [
|
||||
"src/models/media.ts",
|
||||
"src/models/media.test.ts",
|
||||
"src/tools/builtin/audio-transcribe.ts",
|
||||
"src/tools/builtin/audio-transcribe.test.ts",
|
||||
"docs/runbooks/VOICE_TRANSCRIPTION_DEBUG.md",
|
||||
"docs/plans/state.json"
|
||||
],
|
||||
"test_status": "pnpm test:run src/tools/builtin/audio-transcribe.test.ts src/models/media.test.ts"
|
||||
}
|
||||
},
|
||||
"overall_progress": {
|
||||
@@ -6195,7 +6210,7 @@
|
||||
"feature_gap_scorecard": "128/128 match (100%), 0 partial (0%), 0 missing (0%)",
|
||||
"operator_dx_milestone": "Phase 3 (Live Ops Dashboard): 2/2 plans complete — milestone done",
|
||||
"gmail_auth_cli": "flynn gmail-auth command implemented with OAuth2 flow, doctor check, config routed to Telegram",
|
||||
"native_audio_support": "completed — smart routing for native audio (Gemini/OpenAI/GitHub) vs Whisper transcription fallback, plus 2026-02-23 arg hydration hardening, tool.args_rewritten audit metric, and transient fetch retry/timeout hardening",
|
||||
"native_audio_support": "completed — smart routing for native audio (Gemini/OpenAI/GitHub) vs Whisper transcription fallback, plus 2026-02-23 arg hydration hardening, tool.args_rewritten audit metric, transient fetch retry/timeout hardening, and localhost->127.0.0.1 fallback for transcription endpoint connectivity",
|
||||
"remaining_phases_completion": "Phase 1: 3/3 (100%) — context levels, command registry, memory structure. Phase 2: 3/3 (100%) — component registry, confidence routing, history index. Phase 3: 2/2 (100%) — adaptive memory/compaction, truthfulness/autonomy hardening",
|
||||
"next_up": "Track OpenClaw evolution regularly for inspiration and feature ideas"
|
||||
},
|
||||
|
||||
@@ -43,6 +43,8 @@ curl -sS -i -X POST http://localhost:18801/v1/audio/transcriptions \
|
||||
- Flynn could not connect to the transcription endpoint for that attempt (transport/connectivity timeout/reset).
|
||||
- Confirm endpoint is reachable from Flynn host and check `whisper-server` logs around the same timestamp.
|
||||
- If this is intermittent, Flynn now retries transient failures before returning an error.
|
||||
- If you use `localhost` in config and this persists, set endpoint host to `127.0.0.1` to avoid local name-resolution edge cases:
|
||||
- `http://127.0.0.1:18801/v1/audio/transcriptions`
|
||||
|
||||
- `[No speech detected]`
|
||||
- Request succeeded and endpoint returned empty transcript text.
|
||||
|
||||
Reference in New Issue
Block a user