请问有没有人帮我看看为什么这个插件跑不起来? #1020
Replies: 1 comment
-
问题找到了,yandex不支持香港ip搜图。。。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
我目前是这样写的: 插件链接
刚开始是看了已有的一个搜图插件,但是自己更喜欢用yandex于是准备改改,但是改了半天发现url是空的,像这样
[02-05 16:18:41.771] main.py (31) - [INFO] : Image object raw data: {'type': 'Image', 'image_id': None, 'url': None, 'path': None, 'base64': 'data:image/jpeg;base64,一堆编码} [02-05 16:18:41.778] main.py (32) - [INFO] : Image ID: None [02-05 16:18:41.779] main.py (33) - [INFO] : Image URL: None [02-05 16:18:41.780] main.py (35) - [INFO] : None
,根本不能按原插件来,不知道是消息平台还是什么的原因,目前用的是napcat,但是发现有base64,准备base64转文件搜图,结果又搞了半天,现在运行到
self.ap.logger.info(f"message_chain 长度: {len(message_chain)}")
后面就不再有输出了,日志是这样的,最开始还会有ai回复,我以为可能是什么冲突了,把ai回复关了结果依旧没有后面的输出:我太小白了,根本找不到是哪里出问题,来个大佬帮忙看下。
Beta Was this translation helpful? Give feedback.
All reactions