Saif
10/21/2024, 11:14 AMhttps://api.vapi.ai/assistant/${assistantId},
{
model: {
messages: [
{
role: "system",
content: newPrompt
}
],
provider: "openai",
model: "gpt-3.5-turbo"
}
},
{
headers: {
Authorization: Bearer ${VAPI_TOKEN},
'Content-Type': 'application/json'
}
}
);Vapi
10/21/2024, 11:16 AMassistantId and VAPI_TOKEN are correctly specified.
2. The newPrompt variable contains the correct and intended content.
3. There are no other parts of the assistant configuration that are being inadvertently affected by the patch request.
If you've already checked these and the issue persists, please contact VAPI support for more detailed assistance.Vapi
10/21/2024, 11:16 AMShubham Bajaj
10/23/2024, 2:25 PMSaif
10/24/2024, 2:08 AM