Bug in vapi.assistants.create and vapi.assistants.update: Incorrect quotes in transcript[transcriptType='final']
Opened this issue · 1 comments
Mismatch in TranscriptTranscriptTypeFinal Value for vapi.assistants.create and vapi.assistants.update
Description:
When calling the vapi.assistants.create and vapi.assistants.update endpoints, the server returns a 400 Bad Request error. The error indicates that the value for TranscriptTranscriptTypeFinal does not match the allowed values.
Currently, the auto-generated constant is defined as:
readonly TranscriptTranscriptTypeFinal: "transcript[transcriptType='final']";
However, the API expects the value to be:
transcript[transcriptType="final"]
The only difference is that the API requires double quotes around final rather than single quotes. This mismatch causes the validation to fail on the server.
@jurkix thanks for the catch. This is an edge case with the Fern SDK generator and we'll aim to fix