Edit: Ended up just adding in a response parser to catch the change, but FYI to anyone parsing the JSON object directly:
Hey everyone! I'm running into an issue within the last 15-20 minutes where JSON formatted responses from the OpenAI API are returning with "json" at the front of them, which wasn't happening previously. Not sure if it's a Portkey change or something changed within the OpenAI API, any suggestions would be really helpful! For context: the past few weeks and even today, they've been returning like this:
Hey @Qutäy I can confirm that this is not a change from portkey, this could be changes from openai model updates, if you need consistent responses, I'd suggest you to use a checkpoint model like gpt-4o-2024-11-20 and not chatgpt-4o-latest