m
Hi, Today I discovered that the assistant creation functionality in my product is no longer working as expected. Previously, when invoking the createAssistant API, the payload supported the following format for the system prompt:
Copy code
model.systemPrompt: "This is a system prompt"
However, it appears that the API now expects the system prompt to be included in a new structure under model.messages, like so:
Copy code
model.messages: [
  {
    "role": "system",
    "content": "Sample prompt for me."
  }
]
This looks like a breaking change that isn’t backward compatible. and I couldn’t find any announcement or changelog about it!
s
Hello Moein, the change has been deployed for an extended period.
3 Views