Seán
05/23/2025, 9:47 AMVapi Support Bot
05/23/2025, 9:49 AMsqrt
or max
) in your waitFunction
expression. Try switching to a simpler, documented format such as:
json
"waitFunction": "200 + 8000 * x"
This is the default and is known to work. If you want a more conservative wait, you can try:
json
"waitFunction": "4000 * (1 - cos(pi * x))"
Test with one of these, and if it works, incrementally adjust your function using only basic arithmetic and functions shown in the documentation.
If the error persists, consult [the official docs](https://docs.vapi.ai/customization/speech-configuration) or contact support for a list of allowed functions.
Source:
- [Vapi Speech Configuration Documentation](https://docs.vapi.ai/customization/speech-configuration)Vapi Support Bot
05/23/2025, 9:50 AMstartSpeakingPlan.smartEndpointingPlan
(for example, using smartEndpointingEnabled
instead of the new smartEndpointingPlan
or an unsupported waitFunction
format).
Could you please share the exact JSON payload or configuration you are sending when updating the assistant?
This will help identify if there are any missing or misconfigured fields.
Sources:
- [Vapi Speech Configuration Documentation](https://docs.vapi.ai/customization/speech-configuration)
- [Vapi Changelog May 3, 2025](https://docs.vapi.ai/changelog/2025/5/3)
- [Vapi Changelog May 1, 2025](https://docs.vapi.ai/changelog/2025/5/1)Aditya
05/23/2025, 12:48 PM