We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Giving below error, previously it worked correct :
Traceback (most recent call last): File "D:/project/my-app-be/data_generate.py", line 6, in <module> resp = api.send_message('Hello, world!') File "D:\project\my-app-be\venv\lib\site-packages\pyChatGPT\pyChatGPT.py", line 460, in send_message conversation_id = matches.group() AttributeError: 'NoneType' object has no attribute 'group'
To Reproduce Steps to reproduce the behavior:
from pyChatGPT import ChatGPT session_token = 'Actual token here' # __Secure-next-auth.session-token cookie from https://chat.openai.com/chat api = ChatGPT(session_token) # auth with session token resp = api.send_message('Hello, world!') print(resp['message']) api.reset_conversation() # reset the conversation api.clear_conversations() # clear all conversations api.refresh_chat_page() # refresh the chat page` 5. Error already pasted above 6. Installed using pip install pychatgpt
__Secure-next-auth.session-token
Expected behavior Should work fine
The text was updated successfully, but these errors were encountered:
rawandahmad698
No branches or pull requests
Describe the bug
Giving below error, previously it worked correct :
Traceback (most recent call last): File "D:/project/my-app-be/data_generate.py", line 6, in <module> resp = api.send_message('Hello, world!') File "D:\project\my-app-be\venv\lib\site-packages\pyChatGPT\pyChatGPT.py", line 460, in send_message conversation_id = matches.group() AttributeError: 'NoneType' object has no attribute 'group'
To Reproduce
Steps to reproduce the behavior:
`
from pyChatGPT import ChatGPT
session_token = 'Actual token here' #
__Secure-next-auth.session-token
cookie from https://chat.openai.com/chatapi = ChatGPT(session_token) # auth with session token
resp = api.send_message('Hello, world!')
print(resp['message'])
api.reset_conversation() # reset the conversation
api.clear_conversations() # clear all conversations
api.refresh_chat_page() # refresh the chat page`
5. Error already pasted above
6. Installed using pip install pychatgpt
Expected behavior
Should work fine
Provide information on each section, or your issue will be closed.
The text was updated successfully, but these errors were encountered: