Skip to content
This repository has been archived by the owner on Feb 10, 2025. It is now read-only.

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

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

@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>
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants