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.
1 year ago
lanvent
cca49da730
fix: fix subscribe_msg
1 year ago
lanvent
f6d370ad29
fix: check if event is subscribe
1 year ago
lanvent
c9131b333b
feat: add clear_quota_v2 method to clear API quota when it's used up
1 year ago
lanvent
e44161bf42
fix: voice_reply_voice not work
1 year ago
lanvent
a26189fb25
chore: remove passive_reply_message.py
1 year ago
lanvent
89dd8a1db6
refactor(wechatmp): use wechatpy to handle wechatmp messages
feat(wechatmp): add support for image and voice replies
1 year ago
JS00000
650e0b4ad4
wechatmp: adjust log
1 year ago
lanvent
c60f0517fb
refactor(audio_convert.py): remove redundant functions
1 year ago
lanvent
0f8dc91a8b
fix: add check for empty command and return error message if so
1 year ago
lanvent
b58feb5d8e
Merge Pull Request #904 into master
1 year ago
JS00000
71c8043699
update README
1 year ago
JS00000
40264bc9cb
fix: delete permanent media
1 year ago
JS00000
a7772316f9
feat: wechatmp channel support voice/image reply
1 year ago
JS00000
34209021c8
fix: pytts second round not work
1 year ago
lanvent
3e9e8d442a
docs: add README.md for wechatcomapp channel
1 year ago
lanvent
d2bf90c6c7
refactor: rename WechatComChannel to WechatComAppChannel
1 year ago
JS00000
1e58c1ad2b
fix: wechatmp channel now do not need client
1 year ago
JS00000
8cea022ec5
Merge branch 'master' into wechatmp
1 year ago
JS00000
f32f8aa08e
Update readme, and make the structure more clear
1 year ago
lanvent
3ea8781381
feat(wechatcom): add support for sending image
1 year ago
lanvent
ab83dacb76
feat(wechatcom): add support for sending voice messages
1 year ago
lanvent
4cbf46fd4d
feat: add support for wechatcom channel
1 year ago
goldfish菌
0a7d6e4577
plugin(tool) ver0.4.1 ( #891 )
* plugin(tool) fix bugs
* plugin(tool) tool插件更新至0.4.1 版本
1 year ago
JS00000
df4c1f0401
wechatmp: logic simplification
1 year ago
JS00000
9a86a67984
update readme
1 year ago
lanvent
a0cbe9c3e2
feat(azure_voice.py): improve error logging in voiceToText method
1 year ago
lanvent
a83e5a9b65
feat(azure_voice.py): improve error logging in textToVoice method
1 year ago
lanvent
de33911460
feat: add support for PATPAT context
1 year ago
lanvent
0be56e5b25
Merge branch Pull Request #882 into master
1 year ago
lanvent
abcbb34b1c
fix(chat_gpt_bot.py, open_ai_bot.py): increase retry time to 20 seconds when encountering RateLimitError
1 year ago
林督翔
6a13dd04a3
feat(插件开发):新增关键字匹配插件
1 year ago
lanvent
f2e29f3f2e
fix: banwords help
1 year ago
JS00000
68361cddd2
wechatmp_service: image and voice reply supported
1 year ago
lanvent
6404332adc
feat: itchat support joingroup message
1 year ago
JS00000
e060b6fea2
Merge branch 'master' into wechatmp
1 year ago
lanvent
e8aae27ee9
fix: missing lib in banwords
1 year ago
lanvent
2f732e5493
fix: toolhub request_timeout should be str
1 year ago
lanvent
65f20ff2c1
Merge Pull Request #860 into master
1 year ago
lanvent
8f72e8c3e6
formatting code
1 year ago
lanvent
3b8972ce1f
add pre-commit hook
1 year ago
李超
fc5d3e4e9c
feat: Make the size parameter of the resulting picture configurable
1 year ago
李超
29fbf69945
feat: Add configuration items to support custom data directories and facilitate the storage of itchat.pkl
1 year ago
lanvent
583440b82b
banwords: move WordsSearch to lib
1 year ago
lanvent
720de9d73f
chore: strip content
1 year ago
lanvent
78332d882b
Update source.json
1 year ago
lanvent
2dfbc840b3
chore: save model args as a dict
1 year ago
lanvent
0b4bf15163
Update nixpacks.toml
1 year ago
lanvent
2989249e4b
chore: add calc_tokens method on session
1 year ago
lanvent
9cef559a05
feat: support receive_message event
1 year ago