Start auto replying.
[INFO][2023-12-31 01:09:34][bridge.py:49] - create bot gemini for chat
[ERROR][2023-12-31 01:09:34][chat_channel.py:299] - Worker return exception: No module named 'google.generativeai'
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 168, in _handle
reply = self._generate_reply(context)
File "/app/channel/chat_channel.py", line 189, in _generate_reply
reply = super().build_reply_content(context.content, context)
File "/app/channel/channel.py", line 37, in build_reply_content
return Bridge().fetch_reply_content(query, context)
File "/app/bridge/bridge.py", line 64, in fetch_reply_content
return self.get_bot("chat").reply(query, context)
File "/app/bridge/bridge.py", line 55, in get_bot
self.bots[typename] = create_bot(self.btype[typename])
File "/app/bot/bot_factory.py", line 52, in create_bot
from bot.gemini.google_gemini_bot import GoogleGeminiBot
File "/app/bot/gemini/google_gemini_bot.py", line 10, in <module>
import google.generativeai as genai
ModuleNotFoundError: No module named 'google.generativeai'
前置确认
⚠️ 搜索issues中是否已存在类似问题
操作系统类型?
MacOS
运行的python版本是?
python 3.10
使用的chatgpt-on-wechat版本是?
Latest Release
运行的
channel
类型是?wxy(个人微信, wechaty)
复现步骤 🕹
railway一键部署
问题描述 😯
在railway中没有安装支持gemini的库
终端日志 📒