I am using the API and recently I noticed that I would get responses like this json, at random times (but always first, before any search is done) whenever GPT decides to do a web search (not always when a search is done, but if I get this response, there is always a search afterwards):
{
"action":
{
"query": "calculator: 1+1",
"type": "search",
"sources":
[
{
"type": "api",
"name": "oai-calculator"
}
]
},
"id": "ws_0ef00aecf6315950006953eda092808197abf388bc13e9c949",
"status": "completed",
"type": "web_search_call"
}
What is the point of this? I feel like it checks if it has a connection, maybe? It is rather strange. And it is not documented (type: api is not, and sources having the property name is not); it was causing errors in my parser (unless it’s recently documented, I didn’t check).