fix(router): fall back to the deployment voice without a conditional dict spread

This commit is contained in:
mateo-berri 2026-09-04 20:42:41 -07:00
parent 4af62a38c1
commit 93fa989238

View file

@ -4518,7 +4518,7 @@ class Router:
**{
**data,
"input": input,
**({"voice": voice} if voice is not None else {}),
"voice": data.get("voice") if voice is None else voice,
"client": model_client,
**kwargs,
}