Need Help in recovering my assistant
# support
h
something happenned and the entire system prompt is gone, can you help me to recoever it? Was working fine a couple of hours ago. the only thing I have been doing is adding te transfercall configuration via make.com using the patch assistant api, could that have cleared it out? Assitant ID ce2aaba7-1cd3-4cf0-8e97-2ac69298256c
a
HeyHennieVee Thank you for creating the ticket! A member of our team will reach out to you shortly.
v
@HennieVee I'm sorry to hear that you're experiencing issues with the system prompt disappearing. It's possible that the changes made through the patch assistant API could have affected the system prompt, especially if the configuration was not applied correctly. To recover the system prompt, you would typically need to revert to a previous version of the assistant configuration that contained the desired prompt, or reapply the correct configuration if you have a backup or version control in place. If you have a backup of the system prompt or the configuration data, you can reapply it using the appropriate API call. If you don't have a backup, you may need to recreate the system prompt from scratch. If you need assistance with the API call to patch the assistant or to check the current configuration, please provide me with the necessary details, and I'll be happy to guide you through the process. If you're unsure about the next steps or need more detailed support, please ask support for more info on this.
You can continue this conversation by mentioning me in the message.
h
Does Vapi not have version history that can be recovered?
a
@Sahil @Shubham Bajaj
They do not. I'll add it to feature requests
h
ok thx
m
also unlikely but this has happened to me before and a ctrl shift r hard reset of the browser fixed it but this was months ago
doesn't sound like this is your problem though
h
was able to extract it from the webhooks, so that saved me 😉
m
nice!
mark resolved if you can
s
@HennieVee It appears that you have updated the model properties of the assistant, which are of a nested type. Due to the second-level nesting, the patch does not verify properties such as the system prompt temperature, resulting in the overwriting of all remaining properties. I can retrieve your prompt and will send it to you via direct message.
cc: @Alejo @Mason | Building KOI