updating model via API deletes functions.
# support
m
I have a call that updates the system prompt but it deletes the function I have saved.Is this regular behavior?
v
@March Wonder It sounds like you're experiencing an issue where updating the system prompt is affecting the saved functions in an unexpected way. Normally, updating a prompt should not delete or interfere with saved functions unless the update process specifically includes a step that modifies or resets the function settings. If you believe that your functions should not be deleted or modified when updating the system prompt, it might be a good idea to check the documentation or the update process to ensure that it's being done correctly. If the behavior persists and does not align with the expected functionality, it could be a bug or a configuration issue. If you need further assistance with this matter or if you'd like to report this behavior, please let me know, and I can assist you accordingly. If you believe this issue is resolved and would like to close this support ticket, just let me know, and I can do that for you.
You can continue this conversation by mentioning me in the message.
s
If i m not wrong your using transient assistant or assistant-request server event to specify the assistant and it is deleting your functions. if yes then please share else describe more.
m
I'm using this payload to update the assistant appointment_payload = { "serverUrl": "...", "model": { "model": "gpt-4o", "provider": "openai", "messages": [ { "content": "You are Sarah,...", "role": "system", } ], }, }
s
I am guessing by functions you mean assistant functions and if so then please pass them with payload.
m
Okay will try thanks
s
Let me know once your done.
2 Views