JuliaML/OpenAI.jl

The endpoint used by get_usage_status can only be used from the browser

roryl23 opened this issue · 2 comments

OpenAI broke this endpoint:

{
    "error": {
      "message": "Your request to GET /v1/dashboard/billing/subscription must be made with a session key (that is, it can only be made from the browser). You made it with the following key type: secret.",
      "type": "server_error",
      "param": null,
      "code": null
    }
  }

I'm not sure if there's a way to fix this without ripping out get_usage_status

Closing because this issue is sidestepped in 0.8.7: https://github.com/JuliaML/OpenAI.jl/releases/tag/v0.8.7