Sending the following payload seems always result in options from Charlotte, North Carolina (no idea why that location)
{
"web_search_options": {
"search_context_size": "low",
"user_location": {
"type": "approximate",
"approximate": {
"country": "Albania"
}
}
},
"temperature": 0.7,
"model": "openai/gpt-4o-mini-search-preview",
"messages": [
{
"role": "system",
"content": "You are a helpful AI assistant.",
"refusal": null,
"reasoning": null,
"annotations": null
},
{
"role": "user",
"content": "test",
"refusal": null,
"reasoning": null,
"annotations": null
},
{
"role": "assistant",
"content": "Hello! It seems you've entered "test." Could you please provide more context or specify what information you're seeking? This will help me assist you more effectively. ",
"refusal": null,
"reasoning": null,
"annotations": null
},
{
"role": "user",
"content": "list the local companies",
"refusal": null,
"reasoning": null,
"annotations": null
}
],
"reasoning": {},
"max_tokens": 2000,
"tools": null,
"location": null
}