I am trying to use the ChatGPT API and one of the use cases is, that I want to get the list of the currently available ChatGPT models. I defined the API Get request with the response data structure that looks like the following:
Thanks for bringing this to our attention. I will ask the team to look into this because it indeed seems like a defect.
Though in general I think that the structure is still correct, it’s just that the order of the items has changed. This shouldn’t be a problem for the functionality, though I think it should not change from how you defined it.
Please see if it works with the original version, I think you’ll find that will actually work.
A quick update, because it isn’t in the 2024.2 release notes, that this issue was fixed in the 2024.2 release.
It should now keep the order that you typed. Keep in mind that technically there shouldn’t be a difference, the order shouldn’t matter as per the definition of JSON. However, for us mere humans, it can be disorienting when the order changes, of course