mirror of
https://github.com/father-bot/chatgpt_telegram_bot.git
synced 2026-06-13 03:54:57 +03:00
Fix HTTPX problem
This commit is contained in:
@@ -665,6 +665,8 @@ def run_bot() -> None:
|
|||||||
.token(config.telegram_token)
|
.token(config.telegram_token)
|
||||||
.concurrent_updates(True)
|
.concurrent_updates(True)
|
||||||
.rate_limiter(AIORateLimiter(max_retries=5))
|
.rate_limiter(AIORateLimiter(max_retries=5))
|
||||||
|
.http_version("1.1")
|
||||||
|
.get_updates_http_version("1.1")
|
||||||
.post_init(post_init)
|
.post_init(post_init)
|
||||||
.build()
|
.build()
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user