Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 使API余额查询可用 #1174

Merged
merged 3 commits into from
Apr 4, 2023
Merged

fix: 使API余额查询可用 #1174

merged 3 commits into from
Apr 4, 2023

Conversation

LuckyWang6
Copy link
Contributor

image

@swtseaman
Copy link

升级到2.10.9还是不行

@Chanzhaoyu Chanzhaoyu merged commit 1187d88 into Chanzhaoyu:main Apr 4, 2023
@swtseaman
Copy link

哦,才合并哦,是不是要到下一个release版本才能看到了

@quzard
Copy link
Contributor

quzard commented Apr 4, 2023

image

你这个pr的请求,不会通过代理访问,需要修改

@Chanzhaoyu
Copy link
Owner

image

你这个pr的请求,不会通过代理访问,需要修改

PR 这个计算不准确,我已经改过了。代理可以使用 OPENAI_API_BASE_URL 这个字段

@ysongyang
Copy link

本地不执行,这个需要在docker环境里吗?

Equim-chan pushed a commit to Equim-chan/chatgpt-web that referenced this pull request Apr 4, 2023
* fix: 使API余额查询可用

* chore: 调整计算方式

* perf: 余额描述变更

---------

Co-authored-by: ChenZhaoYu <790348264@qq.com>
@yuntao1997
Copy link

查询的时候没通过代理访问,查询不了

Herobrine-ymf pushed a commit to Herobrine-ymf/chatgpt-web that referenced this pull request Apr 5, 2023
* fix: 使API余额查询可用

* chore: 调整计算方式

* perf: 余额描述变更

---------

Co-authored-by: ChenZhaoYu <790348264@qq.com>
@jianingguo
Copy link

你这个获取只是获取当前月份的吧

@quzard
Copy link
Contributor

quzard commented Apr 6, 2023

image

你这个pr的请求,不会通过代理访问,需要修改

PR 这个计算不准确,我已经改过了。代理可以使用 OPENAI_API_BASE_URL 这个字段

实测修改fetch成axios.get来请求数据,可以通过env里设置的proxy来代理请求

#1204

Kooklen pushed a commit to Kooklen/chatgpt-web that referenced this pull request Apr 7, 2023
* fix: 使API余额查询可用

* chore: 调整计算方式

* perf: 余额描述变更

---------

Co-authored-by: ChenZhaoYu <790348264@qq.com>
jingfelix pushed a commit to jingfelix/chatgpt-web that referenced this pull request Apr 7, 2023
* fix: 使API余额查询可用

* chore: 调整计算方式

* perf: 余额描述变更

---------

Co-authored-by: ChenZhaoYu <790348264@qq.com>
yinqf pushed a commit to yinqf/chatgpt-web that referenced this pull request Apr 14, 2023
* fix: 使API余额查询可用

* chore: 调整计算方式

* perf: 余额描述变更

---------

Co-authored-by: ChenZhaoYu <790348264@qq.com>
@DearChuck
Copy link

难道docker hub最新的镜像里面的代码是旧的?

image

HalfCoke pushed a commit to HalfCoke/chatgpt-web that referenced this pull request Jul 6, 2023
* fix: 使API余额查询可用

* chore: 调整计算方式

* perf: 余额描述变更

---------

Co-authored-by: ChenZhaoYu <790348264@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants