{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreigh5f54qzecyel3yp2t4cqkwr5ivwiwkkr3dz2wr6g4ogqjlobxpy",
    "uri": "at://did:plc:lk3jfj3zq4k4wxnk474axylu/app.bsky.feed.post/3mkoszarftai2"
  },
  "path": "/t/models-are-told-the-user-is-in-the-usa-when-using-the-web-tool/1379904#post_5",
  "publishedAt": "2026-04-30T04:14:51.000Z",
  "site": "https://community.openai.com",
  "tags": [
    "@sps",
    "logged this as an issue with the SDK folks"
  ],
  "textContent": "I’m not sure what you’re saying here.\n\nI’m saying that the string “The user is in an estimated location of United States” is injected into the prompt when `tools=[{\"type\": \"web_search\"}]`is passed to `client.responses.create`.\n\nI’m not talking about what happens when a location is passed in the web search definition, or how the model infers location from language, or the scope of search results, or anything else.\n\nI think you’re confusing the issue by bringing other languages into it, but just to be clear: if you pass `tools=[{\"type\": \"web_search\"}]` and ask the model where you are _in Japanese_ it will say that you are in the United States (in Japanese) because the string “The user is in an estimated location of United States” is injected into the prompt.\n\nBTW @sps since this is the expected behaviour, but in my opinion, not a sensible default, I’ve logged this as an issue with the SDK folks so hopefully the USA-string-injection can be avoided or at least have the behaviour explained in the docs and have the workaround explained.",
  "title": "Models are told the user is in the USA when using the web tool"
}