iuiaoin / wechat-gptbot

A wechat robot based on ChatGPT with no risk, very stable! 🚀
MIT License
579 stars 113 forks source link

[Bug]: query key查询使用量的方法失效了。 #82

Closed JBillH closed 1 year ago

JBillH commented 1 year ago

Search for answers in existing issues

Python version

python 3.10

Issue description

[Bug]: query key查询使用量的方法失效了。 貌似/v1/dashboard/billing/subscription也要session key了。

Repro steps

send #query key

Relevant log output

{
  "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
  }
}
iuiaoin commented 1 year ago

@maq917 Could you help to take a look on this? Thx~

maq917 commented 1 year ago

https://github.com/iuiaoin/wechat-gptbot/pull/86