-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
Some prompts fails in 0.0.30 #117
Comments
For reasons unknown to me, I am unable to set a breakpoint at line 109 in the file c:\Users\user\V\4 python\2 telegram bot tesseract\tb1\.venv\Lib\site-packages\re_edge_gpt\chat\re_edge_gpt.py and observe what's happening at that point.
|
fixed re_edge_gpt\chat\re_edge_gpt.py" near line 109 and now its working ok
|
upload image also throw error
|
Can version 0.0.31 fix this issue ? |
0.0.31 - ok on my windows developer pc. and error on linux server
|
|
I use the same address (proxy) and cookie file. the package versions are also the same pip freeze >123; pip install -r 123 |
Still have same exception? |
Yes. Tried one more server, same result. |
new VPS server ubuntu 22, new account and cookie, new venv. it works ok in my windows pc with vpn connected to this VPS
|
I will change forwardIP on next version. |
Can version 0.0.32 run success ? |
|
I have same problem. Some requests failed with this error. I can`t determine what cause this problem. response = await bot.ask(
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\re_edge_gpt\re_edge_gpt.py", line 70, in ask
async for final, response in self.chat_hub.ask_stream(
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\re_edge_gpt\chathub.py", line 179, in ask_stream
raise Exception(
Exception: Throttled: Request is throttled.
Fatal error on SSL transport
protocol: <asyncio.sslproto.SSLProtocol object at 0x0000023645DB0100>
transport: <_ProactorSocketTransport fd=724 read=<_OverlappedFuture cancelled>>
Traceback (most recent call last):
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\asyncio\sslproto.py", line 690, in _process_write_backlog
self._transport.write(chunk)
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\asyncio\proactor_events.py", line 361, in write
self._loop_writing(data=bytes(data))
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\asyncio\proactor_events.py", line 397, in _loop_writing
self._write_fut = self._loop._proactor.send(self._sock, data)
AttributeError: 'NoneType' object has no attribute 'send'
Exception ignored in: <function ClientResponse.__del__ at 0x0000023645BDF1C0> Exception: Throttled: Request is throttled. |
Not this package exception. You can see who threw this exception—it’s the Python 3.10 asyncio sslproto module.
|
So the error is thrown by “self.chathub.ask_stream”, which incorrectly gives something to the library “asyncio”. |
I don’t know why, but even in our daily CI/CD processes, this exception has never been thrown before. |
Exception: Throttled: Request is throttled. --> You have reached the limitation of 300 messages per day I think. |
I would be glad if that was the case. But I don’t even get 100 messages a day 🌚.I can also assume that the problem occurs if the prompt uses unicode characters. For example, quotes (not those that are ", but left and right quotes). |
If your cookie too old, you can only 100 msg per day. |
json.dumps(response, indent=2, ensure_ascii=False) See Q&A |
The only thing you need to do is refresh the cookie. |
Are there plans to add functionality to automatically update cookies? |
Open a new issue to request an enhancement. |
if prompt = 'hello' or 'hello + hello' its ok
if prompt = '1+1' or '2+2' it fails with error
all is ok with 0.0.28
The text was updated successfully, but these errors were encountered: