Fix: Telegram channel crash when proxy is configured#1535
Merged
Re-bin merged 1 commit intoHKUDS:mainfrom Mar 7, 2026
Merged
Conversation
Re-bin
added a commit
that referenced
this pull request
Mar 7, 2026
Mazahir26
added a commit
to Mazahir26/nanobot
that referenced
this pull request
Mar 8, 2026
Upstream changes integrated: - PR HKUDS#1635: Agent config/workspace CLI support - PR HKUDS#1677: Fix auth allowlist bypass via sender_id token splitting - PR HKUDS#1467: DingTalk group chat support - PR HKUDS#436: Preserve Telegram document extension - PR HKUDS#1482: Telegram topic support - PR HKUDS#1535: Fix Telegram proxy crash - PR HKUDS#332: Feishu event handlers - Azure OpenAI provider support - Multi-instance path cleanup and workspace override preservation - Slack empty text response handling - QQ group @message support Conflicts resolved: - .gitignore: Preserved user's tests/ and QWEN.md entries - nanobot/agent/tools/mcp.py: Merged upstream's SSE transport support with user's dict compatibility for backward compatibility Tests: 169 passed Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
robottwo
pushed a commit
to robottwo/nanobot
that referenced
this pull request
Mar 13, 2026
This was referenced Mar 16, 2026
sorker
pushed a commit
to sorker/nanobot
that referenced
this pull request
Mar 24, 2026
Wattysaid
pushed a commit
to kieran-assistant/nanobot
that referenced
this pull request
Apr 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Currently, the
TelegramChannelimplementation fails withValueError: The parameter 'proxy' may only be set, if no request instance was set.when a proxy is provided in the configuration.This is because the code attempts to set the proxy on the
ApplicationBuilderwhile also providing a customHTTPXRequestinstance, which is not allowed inpython-telegram-bot.This PR moves the proxy configuration directly into the
HTTPXRequestinitialization, resolving the startup crash.