feat: Add WeCom (WeChat Work) channel adapter#522
Open
houko wants to merge 3 commits intoRightNow-AI:mainfrom
Open
feat: Add WeCom (WeChat Work) channel adapter#522houko wants to merge 3 commits intoRightNow-AI:mainfrom
houko wants to merge 3 commits intoRightNow-AI:mainfrom
Conversation
|
WeCom:Enterprise use The two should be different, right? |
Author
|
@Avey777 wecom is company wechat, not personal wechat. manger console : https://work.weixin.qq.com |
OK, got it. |
9a7a7cc to
bd8a570
Compare
Author
|
WeCom integration quick start
[channels.wecom]
corp_id = "wwxxxxxxxxxxxxxxxx"
agent_id = "1000016"
secret_env = "WECOM_SECRET"
webhook_port = 8454
token = "your-token"
encoding_aes_key = "your-43-char-aes-key"
default_agent = "router"
[channels.wecom.overrides]
output_format = "plain_text"
export WECOM_SECRET=your-app-secret
Common pitfalls
Useful logs
|
- Add wecom.rs channel adapter implementation - Add WeComConfig in config.rs - Register WeCom adapter in channel_bridge.rs WeCom channel supports: - Inbound messages via callback webhook - Outbound messages via WeCom API - Access token caching and auto-refresh Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
e355665 to
50fc427
Compare
|
@jaberjaber23 |
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.
Summary
Features
WeCom channel supports:
Configuration
Add to config.toml:
Test plan