chenzhenkun
90cdff327c
修复收到从微信发出的图片消息保存到本地失败的问题
2023-09-15 19:07:52 +08:00
befantasy
3dd83aa6b7
Update chat_channel.py
2023-09-15 18:38:31 +08:00
befantasy
a74aa12641
Update wechat_channel.py
2023-09-15 18:37:05 +08:00
befantasy
6bd286e8d5
Update wechat_channel.py to support ReplyType.FILE
2023-09-15 16:22:46 +08:00
befantasy
905532b681
Update chat_channel.py to support ReplyType.FILE
2023-09-15 16:21:27 +08:00
chenzk
652b786baf
Merge branch 'zhayujie:master' into chenzk
2023-09-14 23:42:00 +08:00
chenzhenkun
ba6c671051
修复收到图片消息保存到本地失败的问题
2023-09-14 23:39:07 +08:00
chenzhenkun
ca25d0433f
修复接语音回复失效的问题
2023-09-14 17:52:11 +08:00
zhayujie
5338106dfa
Merge pull request #1308 from leesonchen/master
...
企业服务号的语音输出进行切割
2023-09-12 18:18:17 +08:00
vision
5cc8b56a7c
Optimize image download and storage logic
...
- Implement new compression logic for files larger than 10MB to improve storage efficiency.
- Switch from JPEG to PNG to enhance image quality and compatibility.
2023-09-03 16:29:19 +08:00
zhayujie
4209e108d0
fix: wework single chat no prefix circle reply
2023-09-02 21:49:43 +08:00
chenzhenkun
ac4adac29e
兼容微信艾特的情况
2023-09-01 19:37:19 +08:00
chenzhenkun
ac449d078e
Merge remote-tracking branch 'origin/chenzk' into chenzk
...
# Conflicts:
# channel/chat_channel.py
2023-09-01 19:22:02 +08:00
chenzhenkun
79be4530d4
防止命中前缀导致死循环的情况
2023-09-01 19:18:53 +08:00
chenzk
85ce52d70c
Merge branch 'zhayujie:master' into chenzk
2023-09-01 18:57:52 +08:00
chenzhenkun
7ab56b9076
添加日志以方便定位问题
2023-09-01 18:56:24 +08:00
zhayujie
dedf976375
Merge pull request #1389 from scut-chenzk/chenzk
...
修复自己艾特自己会死循环的问题
2023-09-01 18:42:41 +08:00
chenzhenkun
89f438208a
修复自己艾特自己会死循环的问题
2023-09-01 18:39:31 +08:00
zhayujie
054f927c05
fix: at_list bug in wechat channel
2023-09-01 13:45:04 +08:00
chenzhenkun
7c6ed9944e
支持wework企业微信机器人
2023-08-30 20:49:00 +08:00
zhayujie
2473334dfc
fix: channel send compatibility and add log
2023-08-14 23:09:51 +08:00
zhayujie
395edbd9f4
fix: only filter messages sent by the bot itself in private chat
2023-08-06 16:02:02 +08:00
zhayujie
2386eb8fc2
fix: unable to use plugin when group nickname is set
2023-08-06 15:44:48 +08:00
zhayujie
c81a79f7b9
Merge pull request #1104 from mari1995/feat_my_msg
...
feat: 手机上回复消息,不触发机器人
2023-07-31 18:02:41 +08:00
zhayujie
a786fa4b75
fix: reduce the expiration time and avoid storing the original message text to decrease memory usage
2023-07-21 17:16:34 +08:00
leeson
8224c2fc16
企业服务号的语音输出进行切割
2023-07-08 23:58:07 +08:00
zhayujie
709b5be634
fix: group voice config and azure model calc support
2023-07-01 13:17:08 +08:00
vision
dbe2f17e1a
add reply_suffix
...
增加私聊和群聊回复后缀的可选配置
2023-06-17 15:46:03 +08:00
lanvent
419a3e518e
feat: make plugin compatible with LINKAI in most cases
2023-06-10 23:42:43 +08:00
Jianglang
65b9542599
Merge pull request #1221 from Zhaoyi-Yan/patch-3
...
add \n after @nickname for group chat
2023-06-08 11:53:14 +08:00
Jianglang
ed4553ddf8
Update README.md
2023-06-08 11:42:12 +08:00
Zhaoyi-Yan
ff97ae73f1
add \n after @nickname for group chat
2023-06-06 15:16:57 +08:00
zhayujie
34277a3940
feat: add app market
2023-05-28 19:08:23 +08:00
SSMario
44cb54a9ea
feat: 手机上回复消息,不触发机器人
2023-05-16 09:38:38 +08:00
taoguoliang
3e92d07618
feat(命令): 添加set_gpt_model、set_gpt_model、set_gpt_model 几个命令的使用
2023-05-13 16:57:02 +08:00
林督翔
e4eebd64d1
fix(企业微信):补充缺失依赖textwrap
2023-05-08 09:39:32 +08:00
lanvent
4f1ed197ce
fix: compatible with python 3.7
2023-05-07 23:36:35 +08:00
Jianglang
6b4dc37428
Update README.md
2023-04-28 01:24:26 +08:00
lanvent
2ba8f18724
feat: add railway method for wechatcomapp
2023-04-28 00:04:55 +08:00
lanvent
fb22e01b89
fix: send voice in wechatcomapp rightly
2023-04-27 23:04:24 +08:00
lanvent
76a81d5360
feat(wechatcomapp): add support for splitting long audio files
2023-04-27 22:47:50 +08:00
lanvent
45b89218de
fix: support set_openai_api_key for all channels
2023-04-27 20:43:12 +08:00
lanvent
527d5e1dbc
fix(itchat): add error log when hot reload fails and log out before logging in normally
2023-04-27 02:46:53 +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
c6601aaeed
fix: ensure get access_token thread-safe
2023-04-25 01:11:50 +08:00
lanvent
6e14fce1fe
docs: update README.md for wechatcom_app
2023-04-25 00:44:16 +08:00
lanvent
be5a62f1b8
Merge Pull Request #936 into wechatcom-app
2023-04-24 22:41:42 +08:00
lanvent
79d10be8a0
fix(wechatmp): add clear_quota_lock to ensure thread safe
2023-04-24 00:38:34 +08:00
lanvent
2ec5374765
feat:modify wechatcom to wechatcom_app
2023-04-23 15:40:28 +08:00
lanvent
8205d2552c
fix(Dockerfile): add extra-index-url to pip install command
2023-04-23 15:01:10 +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
4af2c7f3d7
fix: escape regex pattern
2023-04-22 11:39:59 +08:00
lanvent
361f599df0
fix: escape regex patterns when matching name
2023-04-22 11:29:41 +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
665001732b
feat: add image compression
...
Add image compression feature to WechatComAppChannel to compress images larger than 10MB before uploading to WeChat server. The compression is done using the `compress_imgfile` function in `utils.py`. The `fsize` function is also added to `utils.py` to calculate the size of a file or buffer.
2023-04-21 15:29:59 +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
lanvent
3e9e8d442a
docs: add README.md for wechatcomapp channel
2023-04-20 08:43:17 +08:00
lanvent
d2bf90c6c7
refactor: rename WechatComChannel to WechatComAppChannel
2023-04-20 08:31:42 +08:00
JS00000
1e58c1ad2b
fix: wechatmp channel now do not need client
2023-04-20 04:35:06 +08:00
JS00000
8cea022ec5
Merge branch 'master' into wechatmp
2023-04-20 03:41:37 +08:00
JS00000
f32f8aa08e
Update readme, and make the structure more clear
2023-04-20 03:18:21 +08:00
lanvent
3ea8781381
feat(wechatcom): add support for sending image
2023-04-20 02:14:52 +08:00
lanvent
ab83dacb76
feat(wechatcom): add support for sending voice messages
2023-04-20 01:46:23 +08:00
lanvent
4cbf46fd4d
feat: add support for wechatcom channel
2023-04-20 01:03:04 +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
lanvent
de33911460
feat: add support for PATPAT context
2023-04-18 23:34:08 +08:00
JS00000
68361cddd2
wechatmp_service: image and voice reply supported
2023-04-18 03:08:18 +08:00
lanvent
6404332adc
feat: itchat support joingroup message
2023-04-18 02:21:41 +08:00
lanvent
65f20ff2c1
Merge Pull Request #860 into master
2023-04-17 01:24:39 +08:00
lanvent
8f72e8c3e6
formatting code
2023-04-17 01:01:02 +08:00
李超
29fbf69945
feat: Add configuration items to support custom data directories and facilitate the storage of itchat.pkl
2023-04-16 22:31:53 +08:00
lanvent
720de9d73f
chore: strip content
2023-04-16 00:47:32 +08:00
lanvent
9cef559a05
feat: support receive_message event
2023-04-13 10:50:18 +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
6bd1242d43
chore: update requirements and config-template
2023-04-09 16:16:54 +08:00
lanvent
8779eab36b
feat: itchat support picture msg
2023-04-09 00:45:42 +08:00
lanvent
3174b1158c
chore: merge itchat msg
2023-04-08 23:32:37 +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