mirror of
https://github.com/mudler/LocalAI.git
synced 2026-10-09 22:54:42 -04:00
chore: ⬆️ Update 0xShug0/audio.cpp to cf124a67cc55d8f65a9a15eec69edbff0fb212c8 (#12421)
* ⬆️ Update 0xShug0/audio.cpp Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * fix(audio-cpp): mirror the turn detection task The upstream enum adds TurnDetection, so the exhaustive conversion fails to compile. Extend both conversions and preserve the RPC admission rules. Test that turn detection cannot route through VAD or another existing RPC. Assisted-by: Codex:gpt-6 --------- Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: mudler <2420543+mudler@users.noreply.github.com> Co-authored-by: localai-org-maint-bot <306269227+localai-org-maint-bot@users.noreply.github.com>
This commit is contained in:
6 files changed
+37
-7
No files matched your search
@@ -221,6 +221,10 @@ unaffected.
|
||||
|
||||
## Pinned tasks
|
||||
|
||||
The upstream `turn` task performs turn detection. LocalAI has no RPC for this
|
||||
task, so requests to a model that only advertises `turn` are refused. It is not
|
||||
routed through voice activity detection (`vad`).
|
||||
|
||||
Two routes are unreachable by auto-routing and need `task:` in the model config, because
|
||||
nothing in a request distinguishes them from a task the same family also advertises:
|
||||
|
||||
|
||||
Reference in new issue
Block a user