Currently, we will be sending the user’s country and state in the Plugin conversation header (if you are in California, for example, it would look like {"openai-subdivision-1-iso-code": "US-CA"}
Source:https://platform.openai.com/docs/plugins/introduction
Has ChatGPT stopped sending user location? I checked the requests headers and don’t see "openai-subdivision-1-iso-code being sent anymore.
Correct, we only send it to remote hosts - the localhost environment is a bit different (requests come from the browser, not our servers) so there are a few things that differ (especially around headers; another example is that you can’t use authorization flows).
While localhost plugins can be a useful way to develop and even have a few unique use cases, they do have some subtle differences to remote plugins. If you are developing a plugin that’s intended to be deployed remotely and you want close to 100% parity with the deployment case, I recommend using either a cloud-first dev environment like https://replit.com/ or port forwarding like https://ngrok.com/
Hope that helps!
PS You said you don’t see the header “being sent anymore”, but to my knowledge we never sent the header to localhost plugins - was this different for you at some point?
I moved the app to a server and I can see the “openai-subdivision-1-iso-code” header.
Re: You said you don’t see the header “being sent anymore”, but to my knowledge we never sent the header to localhost plugins - was this different for you at some point?
I’m sorry, I was under the impression that you guys don’t see the header anymore, irrespective of the plugin being hosted locally or on a server.