Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bard失效了吗? #452

Open
KimhonWong opened this issue Dec 15, 2023 · 1 comment
Open

Bard失效了吗? #452

KimhonWong opened this issue Dec 15, 2023 · 1 comment

Comments

@KimhonWong
Copy link

[ERROR][2023-12-15 07:19:31][wechat_channel.py:154] - invalid syntax (bard_bot.py, line 51)
Traceback (most recent call last):
File "/root/bot-on-anything/channel/wechat/wechat_channel.py", line 147, in _do_send
reply = super().build_reply_content(e_context["context"], e_context["args"])
File "/root/bot-on-anything/channel/channel.py", line 31, in build_reply_content
return Bridge().fetch_reply_content(query, context)
File "/root/bot-on-anything/bridge/bridge.py", line 18, in fetch_reply_content
return model_factory.create_bot(type).reply(query, context)
File "/root/bot-on-anything/model/model_factory.py", line 33, in create_bot
from model.google.bard_model import BardModel
File "/root/bot-on-anything/model/google/bard_model.py", line 2, in
from .bard_bot import BardBot
File "/root/bot-on-anything/model/google/bard_bot.py", line 51
if not (content := json.loads(resp.content.splitlines()[3])[0][2]):

配置完config的bard cookie和wechat,对话就出错了

@xiaos911
Copy link

同问

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants