Bug in function calling, not saving the function + how to get the firstname into the first message?
i tried to save a fucn few times, its refuses to save it, and also i wasn't able to call the fname paramter in the first msg the ai says.
model property of your assistant's configuration with specific name, description, and parameters fields. Use the Update Assistant endpoint to save any changes to your assistant configuration (1) .firstname into the first message the AI says, Vapi's current documentation does not explicitly detail dynamic insertion of parameters such as firstname into messages directly. Typically, dynamic content involves server-side logic where the assistant's response is tailored based on the input or context provided during the call setup or via custom function calls that manipulate the conversation flow. You might need to handle such logic on your server and adjust the assistant's configuration or responses accordingly, leveraging the server URL feature for dynamic interaction handling (2) .

modelfirstnamefirstnameconst assistant = {
model: {
provider: "openai",
model: "gpt-3.5-turbo",
systemPrompt:
"You're a versatile AI assistant named Vapi who is fun to talk with.",
},
voice: {
provider: "11labs",
voiceId: "paula",
},
firstMessage: `Hello ${firstname} how are you?`,
};