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

Replit issue when I try to Run it #24

Open
nonoradke opened this issue Feb 3, 2024 · 1 comment
Open

Replit issue when I try to Run it #24

nonoradke opened this issue Feb 3, 2024 · 1 comment

Comments

@nonoradke
Copy link

2024-02-03 17:45:38 - root - INFO - BING_COOKIE loaded from ./cookie.json
2024-02-03 17:45:38 - root - WARNING - Allow everyone mode
2024-02-03 17:45:38 - root - WARNING - You set BING_COOKIE to not None, but you allowed everyone to use this bot
2024-02-03 17:45:39 - httpx - INFO - HTTP Request: GET https://www.bing.com/turing/conversation/create "HTTP/1.1 200 OK"
Traceback (most recent call last):
File "/home/runner/PyroEdgeGPTBot/main.py", line 130, in
"bot": tmpLoop.run_until_complete(EdgeGPT.Chatbot.create(proxy=PROXY_BING, cookies=BING_COOKIE)), # 共用一个 cookie.json 文件
File "/nix/store/xf54733x4chbawkh1qvy9i1i4mlscy1c-python3-3.10.11/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/home/runner/PyroEdgeGPTBot/.pythonlibs/lib/python3.10/site-packages/EdgeGPT/EdgeGPT.py", line 41, in create
self.chat_hub = ChatHub(
File "/home/runner/PyroEdgeGPTBot/.pythonlibs/lib/python3.10/site-packages/EdgeGPT/chathub.py", line 42, in init
conversation_signature=conversation.struct["conversationSignature"],
KeyError: 'conversationSignature'

how to fix this issue?

@vpsbykaif
Copy link

vpsbykaif commented Feb 11, 2024

You can fix this issue by changing the requirements.txt just remove the edgegpt and this url. git+https://github.com/vpsbykaif/EdgeGPT@main#egg=EdgeGPT. After adding type in the terminal pip install -r requirements.txt --upgrade hope it will work:

Before :
Screenshot_20240211_122428_Chrome

After adding the url in the requirements.txt file:
Screenshot_20240211_122614_Chrome

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