Sometimes the APIs, well not only this, are complete but there maybe double quotes or commas or something extra that is creating a bug and becomes unparseable.
So I created a util file that puts in any missing brackets or curly brackets if the json was truncated, even the the max tokens is just limited to 1000
Sometimes the APIs, well not only this, are complete but there maybe double quotes or commas or something extra that is creating a bug and becomes unparseable.
I shall try to parse what's left of it.