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

使用官方api接口出错 #53

Open
GUNNEO opened this issue Apr 25, 2024 · 1 comment
Open

使用官方api接口出错 #53

GUNNEO opened this issue Apr 25, 2024 · 1 comment

Comments

@GUNNEO
Copy link

GUNNEO commented Apr 25, 2024

Traceback (most recent call last):
File "/Users/gunneo/Codes/AI/ChineseAiDungeonChatGPT-main/example_story.py", line 7, in
chatter.start_cli()
File "/Users/gunneo/Codes/AI/ChineseAiDungeonChatGPT-main/story_rewrite.py", line 125, in start_cli
self.setup_chatbot()
File "/Users/gunneo/Codes/AI/ChineseAiDungeonChatGPT-main/story_rewrite.py", line 91, in setup_chatbot
self.login(self.config)
File "/Users/gunneo/Codes/AI/ChineseAiDungeonChatGPT-main/story_rewrite.py", line 38, in login
self.chatbot = ofChatbot(api_key=_config['api_key'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/gunneo/anaconda3/lib/python3.11/site-packages/revChatGPT/V3.py", line 108, in init
self.aclient = httpx.AsyncClient(
^^^^^^^^^^^^^^^^^^
TypeError: AsyncClient.init() got an unexpected keyword argument 'follow_redirects'

@bupticybee
Copy link
Owner

接口问题的话应该查一下revChatGPT 文档,这个项目只有40多行,没什么复杂逻辑的

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

No branches or pull requests

2 participants