cheungchazz / WeChat-AIChatbot-WinOnly

基于chatgpt-on-wechat框架,只能运行在Win平台的项目,通过本项目可以将微信或者企业微信个人号接入ChatGpt、文心一言、FastGpt、LinkAI,可以文字对话、语音对话、图片交互、文件交互等。
Apache License 2.0
315 stars 71 forks source link

企业微信 sd画图和语音都无法发送,显示收到的同一个文件名,receiver=S:1688850119213435_7881300759910475。这里改那个Py文件,生产的文件的发送地址逻辑不对。 #5

Open swumagic opened 10 months ago

swumagic commented 10 months ago

前置确认

⚠️ 搜索issues中是否已存在类似问题

操作系统类型?

Windows

运行的python版本是?

python 3.10

使用的chatgpt-on-wechat版本是?

Latest Release

运行的channel类型是?

wxy(个人微信, wechaty)

复现步骤 🕹

企业微信截图_17011985735451

问题描述 😯

企业微信 sd画图和语音都无法发送,显示收到的同一个文件名,receiver=S:1688850119213435_7881300759910475。这里改那个Py文件,生产的文件的发送地址逻辑不对。

终端日志 📒

[INFO][2023-11-29 03:02:23][sdwebui.py:52] - [SD] image_query=横版 二次元:美女在海边钓鱼 [INFO][2023-11-29 03:02:23][sdwebui.py:97] - [SD] translate prompt from zh to en [INFO][2023-11-29 03:02:23][sdwebui.py:102] - [SD] translated prompt=Beauty fishing by the seaside [INFO][2023-11-29 03:02:23][sdwebui.py:105] - [SD] cover options={'sd_model_checkpoint': 'darkSushiMixMix_225D'} [INFO][2023-11-29 03:02:23][sdwebui.py:107] - [SD] params={'sampler_name': 'Euler a', 'steps': 20, 'width': 768, 'height': 512, 'cfg_scale': 7.5, 'prompt': 'masterpiece, best quality, Beauty fishing by the seaside', 'negative_prompt': 'nsfw,ugly,Vague,bad_hands,extra_hands,missing_fingers,broken hand,more than two hands,more than two legs,extra limbs,extra legs,unclear eyes,signature,watermark,username,blurry,worst_quality,low_quality,normal_quality', 'enable_hr': False, 'hr_scale': 2, 'hr_upscaler': '4x-UltraSharp', 'hr_second_pass_steps': 20, 'denoising_strength': 0.35} [INFO][2023-11-29 03:02:25][wework_channel.py:278] - [WX] sendImage, receiver=S:1688850119213435_7881300759910475 [WARNING][2023-11-29 03:05:20][chat_channel.py:193] - [WX]any to wav error, use raw path. 'D:\airj\chatwinxin\chatonwework\WeChat-AIChatbot-WinOnly\tmp\20231129030518.wav' and 'D:\airj\chatwinxin\chatonwework\WeChat-AIChatbot-WinOnly\tmp\20231129030518.wav' are the same file [INFO][2023-11-29 03:05:20][bridge.py:34] - create bot openai for voice_to_text [INFO][2023-11-29 03:05:21][wework_channel.py:266] - [WX] sendMsg=Reply(type=ERROR, content=[ERROR] Invalid URL (POST /v1/audio/speech/audio/transcriptions)), receiver=S:1688850119213435_7881300759910475

vance19van commented 5 months ago

麻烦可以发我一份吗。现在下载的没有企业微信的那个程序包,vance19van@outlook.com,微信:vance-19