[Bug] Calls with json_format=True
yields double sets of curly braces
#456
Labels
bug
Something isn't working
status:needs-triage
An issue that needs to be triaged by the Pinecone team
Is this a new bug?
Describe the bug
I am attempting to use json_format=True. About one in every 20 or so calls will yield invalid JSON. Specifically it gives double curly braces.
Example code:
Expected response:
{"first_key": "Example", "second_key": "Example again."}
Actual response (about one in every 20 times):
{{"first_key": "Example", "second_key": "Example again."}}
Error information
It's worth noting that the double curlies happen at start and end.
Steps to reproduce the issue locally
Call the above code about 20-30 times. It will randomly happen.
Environment
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: