The API used is OpenRouter’s Gemini 3 Pro Preview. There is no error when the Agent mode is off, but when the Agent mode is on, the following error occurs regardless of whether the proxy is on or off:
Failed to send message (API Key: sk-or-v1…): OpenAIClientException({
“uri”: “https://openrouter.ai/api/v1/chat/completions”,
“method”: “POST”,
“code”: 400,
“message”: “Unsuccessful response”,
“body”: {
“error”: {
“message”: “Provider returned error”,
“code”: 400,
“metadata”: {
“raw”: “{\n "error": {\n "code": 400,\n "message": "User location is not supported for the API use.",\n "status": "FAILED_PRECONDITION"\n }\n}\n”,
“provider_name”: “Google AI Studio”
}
},
“user_id”: “user_35TfwWTh9VbhtUkgXoY4HEIpYWY”
}
})
