Open krishna2206 opened 8 months ago
getting the same error
PR alreay pushed, wait approved, you can use it at https://github.com/Barrierml/reverse-engineered-chatgpt
Thank You . Now it is working
can you make a explanation video of this code. I really want to understand this code.
I have the same issue even after re install and i did the forked repo installation method
can you make a explanation video of this code. I really want to understand this code.
video? That might be a little difficult for me, if you have any specific problem, you can send to me
I have the same issue even after re install and i did the forked repo installation method
Have you tried other accounts? If other accounts still have the same problem, you can provide your environment
it is fixed now Thank you
after trying the new version, now getting the 1st response, then immediately:
Traceback (most recent call last):
File "/home/brizz/Code/createbook/async_basic_example.py", line 34, in <module>
asyncio.run(main())
File "/usr/lib/python3.9/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.Traceback (most recent call last):
File "/home/brizz/Code/createbook/async_basic_example.py", line 34, in <module>
asyncio.run(main())
File "/usr/lib/python3.9/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
return future.result()
File "/home/brizz/Code/createbook/async_basic_example.py", line 29, in main
print(message_chunk["content"], flush=True, end="")
File "/home/brizz/Code/createbook/.env/lib/python3.9/site-packages/re_gpt-3.0.2-py3.9.egg/re_gpt/async_chatgpt.py", line 439, in __aexit__
await self.session.close()
TypeError: object NoneType can't be used in 'await' expression9/asyncio/base_events.py", line 642, in run_until_complete
return future.result()
File "/home/brizz/Code/createbook/async_basic_example.py", line 29, in main
print(message_chunk["content"], flush=True, end="")
File "/home/brizz/Code/createbook/.env/lib/python3.9/site-packages/re_gpt-3.0.2-py3.9.egg/re_gpt/async_chatgpt.py", line 439, in __aexit__
await self.session.close()
TypeError: object NoneType can't be used in 'await' expression
after trying the new version, now getting the 1st response, then immediately:
Traceback (most recent call last): File "/home/brizz/Code/createbook/async_basic_example.py", line 34, in <module> asyncio.run(main()) File "/usr/lib/python3.9/asyncio/runners.py", line 44, in run return loop.run_until_complete(main) File "/usr/lib/python3.Traceback (most recent call last): File "/home/brizz/Code/createbook/async_basic_example.py", line 34, in <module> asyncio.run(main()) File "/usr/lib/python3.9/asyncio/runners.py", line 44, in run return loop.run_until_complete(main) File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete return future.result() File "/home/brizz/Code/createbook/async_basic_example.py", line 29, in main print(message_chunk["content"], flush=True, end="") File "/home/brizz/Code/createbook/.env/lib/python3.9/site-packages/re_gpt-3.0.2-py3.9.egg/re_gpt/async_chatgpt.py", line 439, in __aexit__ await self.session.close() TypeError: object NoneType can't be used in 'await' expression9/asyncio/base_events.py", line 642, in run_until_complete return future.result() File "/home/brizz/Code/createbook/async_basic_example.py", line 29, in main print(message_chunk["content"], flush=True, end="") File "/home/brizz/Code/createbook/.env/lib/python3.9/site-packages/re_gpt-3.0.2-py3.9.egg/re_gpt/async_chatgpt.py", line 439, in __aexit__ await self.session.close() TypeError: object NoneType can't be used in 'await' expression
My bad, I will fix it
Hello, I got this error when trying to get response from the API :
This is the code :
Any idea of what is happening here ?