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

[Feature] 请支持revChatGPT4.0.0 #355

Closed
SaithZhang opened this issue Mar 15, 2023 · 8 comments
Closed

[Feature] 请支持revChatGPT4.0.0 #355

SaithZhang opened this issue Mar 15, 2023 · 8 comments
Labels
enhancement New feature or request

Comments

@SaithZhang
Copy link

今天发布了chatgpt 4.0版本,麻烦作者大大支持一下逆向库网页版,谢谢!

@SaithZhang SaithZhang added the enhancement New feature or request label Mar 15, 2023
@xslingcn
Copy link
Contributor

我自己改了个支持到revChatGPT 4.0的版本,现在看来有一个问题是本项目依赖已经被revChatGPT弃用的Unofficial.py进行浏览器登录,直接pull最新版本会导致该功能不可用。我图方便的做法是直接把这个文件单独放在本地,但对项目来讲肯定不是很好的方案。

@SaithZhang
Copy link
Author

我刚也试了直接upgrade,运行bot就报错了Unofficial找不到,后面就没细弄

@xslingcn
Copy link
Contributor

我刚也试了直接upgrade,运行bot就报错了Unofficial找不到,后面就没细弄

要改的话很快,upgrade之后config里加一下model这个键,然后在login逻辑里读一下这个值就可以了。但是Unofficial这个怎么弄还是要看作者的设计决策。

@SaithZhang
Copy link
Author

我刚也试了直接upgrade,运行bot就报错了Unofficial找不到,后面就没细弄

要改的话很快,upgrade之后config里加一下model这个键,然后在login逻辑里读一下这个值就可以了。但是Unofficial这个怎么弄还是要看作者的设计决策。

可以的,多谢大佬,中午试试~

@xslingcn
Copy link
Contributor

我用我改的方案提了个PR,供您参考下。

@SaithZhang
Copy link
Author

我用我改的方案提了个PR,供您参考下。

感谢,我patch了下,不过还是有点报错(404),可能是我网络环境的问题,晚上下班再试试,谢谢大佬!

@xslingcn
Copy link
Contributor

我用我改的方案提了个PR,供您参考下。

感谢,我patch了下,不过还是有点报错(404),可能是我网络环境的问题,晚上下班再试试,谢谢大佬!

如果你的browserless_endpointhttps://bypass.duti.tech/ 的话需要在最后加上api/,改成https://bypass.duti.tech/api/。这个可能是revChatGPT那边更新之后把这个路径拿掉了。

@lss233
Copy link
Owner

lss233 commented Mar 15, 2023

好了,我发布了 2.2.4

@lss233 lss233 closed this as completed Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants