zhayujie
3d7c68bac6
fix(wechatmp): reject webhook requests when wechatmp_token is empty
2026-06-05 15:14:28 +08:00
6vision
fe8b8fe831
fix(wechatmp): support local file:// images in send
...
Agent-generated images are sent as IMAGE_URL with a file:// path, but the wechatmp channel always used requests.get, which fails on file:// with InvalidSchema. Now read local files directly (file:// or local path) and fall back to HTTP download for remote URLs, in both passive and active reply modes.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-30 16:33:49 +08:00
6vision
5aca54c083
fix(wechatmp): flush cached segments while task still running
...
Previously the passive reply only drained the cache after the agent task fully finished, so for long multi-turn tasks the user could not retrieve already-cached intermediate segments. Now return cached segments as soon as they are available, even while the task is still running; the next user message fetches the rest.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-30 15:48:27 +08:00
6vision
458b1a1d88
fix(wechatmp): merge cached text segments in passive reply
...
In subscription account passive reply mode, WeChat allows only one reply per request. Multi-turn agent output was cached as separate entries, forcing the user to send an extra message to fetch each one. Now drain and merge all consecutive cached text segments into a single reply; media still returns one at a time.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-30 14:41:51 +08:00
zhayujie
c4b5f7fbae
refactor: remove unavailable channels
2026-03-16 11:05:45 +08:00
zhayujie
46945942e1
feat: support channel start in sub thread
2026-02-13 12:38:52 +08:00
saboteur7
501866d12a
feat: optimize document and model usage
2026-02-03 02:58:15 +08:00
6vision
9cc4d0ee07
Optimize markdown format display
2024-10-21 10:23:39 +08:00
MasterKeee
a0427b569e
新增公众号的回复视频类型
2024-02-19 00:45:53 +08:00
vision
5ba8fdc5e7
fix
2023-09-23 14:31:54 +08:00
6vision
79c7f0c29f
个人订阅号长语音支持
2023-09-23 13:27:36 +08:00
6vision
2b3e643786
适配一次请求多条回复
2023-09-23 11:59:01 +08:00
leeson
8224c2fc16
企业服务号的语音输出进行切割
2023-07-08 23:58:07 +08:00
林督翔
e4eebd64d1
fix(企业微信):补充缺失依赖textwrap
2023-05-08 09:39:32 +08:00
lanvent
2ba8f18724
feat: add railway method for wechatcomapp
2023-04-28 00:04:55 +08:00
lanvent
45b89218de
fix: support set_openai_api_key for all channels
2023-04-27 20:43:12 +08:00
lanvent
20b71f206b
feat: add subscribe_msg option for wechatmp, wechatmp_service, and wechatcom_app channels
2023-04-26 00:01:04 +08:00
lanvent
73c87d5959
fix(wechatcomapp): split long text messages into multiple parts
2023-04-25 01:48:15 +08:00
lanvent
79d10be8a0
fix(wechatmp): add clear_quota_lock to ensure thread safe
2023-04-24 00:38:34 +08:00
lanvent
a52f54d988
docs(wechatmp): Update README.md
2023-04-22 12:15:56 +08:00
lanvent
618c94edb8
formatting: run precommit on all files
2023-04-22 12:01:29 +08:00
lanvent
7c85c6f742
feat(wechatmp): add support for message encryption
...
- Add support for message encryption in WeChat MP channel.
- Add `wechatmp_aes_key` configuration item to `config.json`.
2023-04-22 02:33:51 +08:00
lanvent
b5df6faadf
feat: verify server when receive message in wechatmp
2023-04-22 01:30:21 +08:00
lanvent
7cefe2d825
fix: split long text messages into multiple parts in wechatmp_service
2023-04-21 21:03:38 +08:00
lanvent
350633b69b
Merge Purll Request #920 into wechatmp
2023-04-21 20:46:16 +08:00
JS00000
3a08b002a0
Merge remote-tracking branch 'origin/wechatmp' into wechatmp
2023-04-21 16:20:57 +08:00
lanvent
cca49da730
fix: fix subscribe_msg
2023-04-21 13:49:51 +08:00
lanvent
f6d370ad29
fix: check if event is subscribe
2023-04-21 13:43:01 +08:00
lanvent
c9131b333b
feat: add clear_quota_v2 method to clear API quota when it's used up
2023-04-21 13:41:21 +08:00
lanvent
e44161bf42
fix: voice_reply_voice not work
2023-04-21 03:28:31 +08:00
lanvent
a26189fb25
chore: remove passive_reply_message.py
2023-04-21 03:04:50 +08:00
lanvent
89dd8a1db6
refactor(wechatmp): use wechatpy to handle wechatmp messages
...
feat(wechatmp): add support for image and voice replies
2023-04-21 02:47:33 +08:00
JS00000
650e0b4ad4
wechatmp: adjust log
2023-04-21 02:16:13 +08:00
lanvent
b58feb5d8e
Merge Pull Request #904 into master
2023-04-20 23:06:17 +08:00
JS00000
71c8043699
update README
2023-04-20 12:35:54 +08:00
JS00000
40264bc9cb
fix: delete permanent media
2023-04-20 12:03:48 +08:00
JS00000
a7772316f9
feat: wechatmp channel support voice/image reply
2023-04-20 10:26:58 +08:00
JS00000
1e58c1ad2b
fix: wechatmp channel now do not need client
2023-04-20 04:35:06 +08:00
JS00000
f32f8aa08e
Update readme, and make the structure more clear
2023-04-20 03:18:21 +08:00
JS00000
df4c1f0401
wechatmp: logic simplification
2023-04-19 01:56:25 +08:00
JS00000
9a86a67984
update readme
2023-04-19 01:54:20 +08:00
JS00000
68361cddd2
wechatmp_service: image and voice reply supported
2023-04-18 03:08:18 +08:00
lanvent
8f72e8c3e6
formatting code
2023-04-17 01:01:02 +08:00
JS00000
88f4a45cae
微信公众号语音输入支持 ( #808 )
2023-04-12 15:10:51 +08:00
lanvent
fcfafb05f1
fix: wechatmp's deadloop when reply is None from @JS00000 #789
2023-04-09 20:01:03 +08:00
lanvent
8c7d1d4010
Merge Pull Request #774 into master
2023-04-08 01:23:54 +08:00
lanvent
3a3affd3ec
fix: wechatmp event and query timeout
2023-04-07 20:53:21 +08:00
JS00000
45d72b8b9b
Update README
2023-04-07 20:46:00 +08:00
JS00000
03b908c079
Merge branch 'master' into wechatmp
2023-04-07 20:28:08 +08:00
JS00000
d35d01f980
Add wechatmp_service channel
2023-04-07 19:47:50 +08:00