-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Message is too long #493
Comments
Use a proxy |
Мб потому что ты в рф |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hi,i do all things right and when i start bot and try send him a message(not command) and this is what i get⚠️ Произошла ошибка. ⚠️
<title>Attention Required! | Cloudflare</title> <style>body{margin:0;padding:0}</style> <script> if (!navigator.cookieEnabled) { window.addEventListener('DOMContentLoaded', function () { var cookieEl = document.getElementById('cookie-alert'); cookieEl.style.display = 'block'; }) } </script>2023-12-13 17:17:37,552 - root - INFO - New message received from user саша блейдмейл (id: 6915028128)
2023-12-13 17:17:38,769 - root - ERROR -
Sorry, you have been blocked
You are unable to access api.openai.com
Cloudflare Ray ID: 834ed4f41c303aad • Your IP: Click to reveal 178.65.220.165 • Performance & security by Cloudflare
<script>(function(){function d(){var b=a.getElementById("cf-footer-item-ip"),c=a.getElementById("cf-footer-ip-reveal");b&&"classList"in b&&(b.classList.remove("hidden"),c.addEventListener("click",function(){c.classList.add("hidden");a.getElementById("cf-footer-ip").classList.remove("hidden")}))}var a=document;document.addEventListener&&a.addEventListener("DOMContentLoaded",d)})();</script>Sorry, you have been blocked
You are unable to access api.openai.com
Cloudflare Ray ID: 834ed4f41c303aad • Your IP: Click to reveal 178.65.220.165 • Performance & security by Cloudflare
<script>(function(){function d(){var b=a.getElementById("cf-footer-item-ip"),c=a.getElementById("cf-footer-ip-reveal");b&&"classList"in b&&(b.classList.remove("hidden"),c.addEventListener("click",function(){c.classList.add("hidden");a.getElementById("cf-footer-ip").classList.remove("hidden")}))}var a=document;document.addEventListener&&a.addEventListener("DOMContentLoaded",d)})();</script>The above exception was the direct cause of the following exception:
Traceback (most recent call last):⚠️ {localized_text('error', bot_language)}. ⚠️ \n{str(e)}") from e⚠️ Произошла ошибка. ⚠️
<title>Attention Required! | Cloudflare</title> <style>body{margin:0;padding:0}</style> <script> if (!navigator.cookieEnabled) { window.addEventListener('DOMContentLoaded', function () { var cookieEl = document.getElementById('cookie-alert'); cookieEl.style.display = 'block'; }) } </script>File "C:\chatgpt-telegram-bot-main\bot\telegram_bot.py", line 697, in prompt
async for content, tokens in stream_response:
File "C:\chatgpt-telegram-bot-main\bot\openai_helper.py", line 176, in get_chat_response_stream
response = await self._common_get_chat_response(chat_id, query, stream=True)
File "C:\chatgpt-telegram-bot-main\venv\lib\site-packages\tenacity_asyncio.py", line 88, in async_wrapped
return await fn(*args, **kwargs)
File "C:\chatgpt-telegram-bot-main\venv\lib\site-packages\tenacity_asyncio.py", line 47, in call
do = self.iter(retry_state=retry_state)
File "C:\chatgpt-telegram-bot-main\venv\lib\site-packages\tenacity_init.py", line 314, in iter
return fut.result()
File "C:\Users\aagol\AppData\Local\Programs\Python\Python310\lib\concurrent\futures_base.py", line 451, in result
return self.__get_result()
File "C:\Users\aagol\AppData\Local\Programs\Python\Python310\lib\concurrent\futures_base.py", line 403, in __get_result
raise self._exception
File "C:\chatgpt-telegram-bot-main\venv\lib\site-packages\tenacity_asyncio.py", line 50, in call
result = await fn(*args, **kwargs)
File "C:\chatgpt-telegram-bot-main\bot\openai_helper.py", line 270, in __common_get_chat_response
raise Exception(f"
Exception:
Sorry, you have been blocked
You are unable to access api.openai.com
Cloudflare Ray ID: 834ed4f41c303aad • Your IP: Click to reveal 178.65.220.165 • Performance & security by Cloudflare
<script>(function(){function d(){var b=a.getElementById("cf-footer-item-ip"),c=a.getElementById("cf-footer-ip-reveal");b&&"classList"in b&&(b.classList.remove("hidden"),c.addEventListener("click",function(){c.classList.add("hidden");a.getElementById("cf-footer-ip").classList.remove("hidden")}))}var a=document;document.addEventListener&&a.addEventListener("DOMContentLoaded",d)})();</script>The text was updated successfully, but these errors were encountered: