chatgpt-on-wechat icon indicating copy to clipboard operation
chatgpt-on-wechat copied to clipboard

修复个人公众号私信File "/app/channel/chat_channel.py", line 261xxxxxxx("single…

Open xingxinag opened this issue 1 month ago • 1 comments

…_chat_reply_prefix", "") + reply_text + conf().get("single_chat_reply_suffix", "") 报错 [INFO][2025-01-04 13:23:10][google_gemini_bot.py:60] - [Gemini] reply=嘟嘟嘟! 😄 我现在准备接收你的指令了。你想让我做什么呢? 修复这个报错 chatgpt-on-wechat-20250104214403.log

[ERROR][2025-01-04 13:23:10][wechatmp_channel.py:301] - [wechatmp] Fail to generate reply to user, msgId=24853501756706936, exception=can only concatenate list (not "str") to list Traceback (most recent call last): File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/app/channel/chat_channel.py", line 176, in _handle reply = self._decorate_reply(context, reply) File "/app/channel/chat_channel.py", line 261, in _decorate_reply reply_text = conf().get("single_chat_reply_prefix", "") + reply_text + conf().get("single_chat_reply_suffix", "")

xingxinag avatar Jan 04 '25 17:01 xingxinag