ZEGOTECK
04/11/2025, 4:51 PMVapi Support Bot
04/11/2025, 4:52 PMcurl -X PATCH https://api.vapi.ai/assistant/id \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": {
"provider": "openai",
"model": "gpt-4o",
"toolIds": [
"YOUR_TOOL_ID_HERE"
]
}
}'
Make sure to include all existing properties in your model configuration, such as the system prompt.
2. **Check Server Secret Configuration**: According to [Discord discussions](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1331991829717188680), you should:
- Access the VAPI interface where you configure tools
- Locate the section to set the server secret
- Enter your API key as the value for assistant.model.tools.server.secret
- Save the configuration
3. **Clear Browser Cache**: Try a hard reset of your browser with "ctrl+shift+r" as this has [fixed similar issues](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1334944779850485790) for other users.Vapi Support Bot
04/11/2025, 4:52 PMPraveen Nair
04/11/2025, 8:31 PMPraveen Nair
04/14/2025, 6:13 AMZEGOTECK
04/14/2025, 3:18 PMZEGOTECK
04/14/2025, 3:20 PMZEGOTECK
04/15/2025, 5:54 PMZEGOTECK
04/15/2025, 5:54 PMPraveen Nair
04/17/2025, 6:16 PM