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

使用星火助手报crypto依赖缺少 #611

Closed
WillyerQ opened this issue Nov 18, 2023 · 2 comments
Closed

使用星火助手报crypto依赖缺少 #611

WillyerQ opened this issue Nov 18, 2023 · 2 comments
Labels

Comments

@WillyerQ
Copy link

请确保提出问题前更新到最新版本!!!!!!!!

请在提交issue前确认你已阅读了以下资料:

  • 项目的readme文件
  • 其他已有的Issue

如果你的问题已经在readme或其他Issue中得到解答,我们很可能不会回复。请确保你的问题是一个新的问题。

问题描述

ntqq使用星火助手报依赖crypto错误,但是除了助手之外都能正常使用,而且我crypto依赖已经安装好了
image

预期行为

按照助手设定回答我的问题

实际行为

[MiaoYz][22:48:35.812][INFO] [793416108] 群消息:[原神日志(749227783), 被社会毒
打的社畜(814487409)] #xh 介绍下你自己
[MiaoYz][22:48:36.290][MARK] [DJ表情插件][ysyy][原神日志(被社会毒打的社畜)] #xh
介绍下你自己
[MiaoYz][22:48:36.294][MARK] [ChatGpt 对话][xh][原神日志(被社会毒打的社畜)] #xh
介绍下你自己
[MiaoYz][22:48:36.842][INFO] [793416108 => 749227783] 发送群消息:[回复: 7302814
132881466077]我正在思考如何回复你,请稍等
[MiaoYz][22:48:36.847][INFO] chatgpt prompt: 介绍下你自己
[MiaoYz][22:48:36.872][ERRO] Error: 缺少依赖:crypto。请安装依赖后重试
at XinghuoClient.apiMessage (file:///D:/Miao-Yunzai/plugins/chatgpt-plugin/u
tils/xinghuo/xinghuo.js:183:23)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5
)
at async XinghuoClient.sendMessage (file:///D:/Miao-Yunzai/plugins/chatgpt-p
lugin/utils/xinghuo/xinghuo.js:413:30)
at async chatgpt.sendMessage (file:///D:/Miao-Yunzai/plugins/chatgpt-plugin/
apps/chat.js:2003:24)
at async chatgpt.abstractChat (file:///D:/Miao-Yunzai/plugins/chatgpt-plugin
/apps/chat.js:1105:25)
at async chatgpt.xh (file:///D:/Miao-Yunzai/plugins/chatgpt-plugin/apps/chat
.js:1518:5)
at async PluginsLoader.deal (file:///D:/Miao-Yunzai/lib/plugins/loader.js:29
1:54)

复制过程

在锅巴上设置好cookie,api三项,助手接口项空着,然后设置模式为星火助手模式。然后正常使用星火来使用插件

环境

系统 windows serve 2016
插件版本 最新版

可能的解决方案

已经重装过依赖并重启机器人,但是还是报依赖错误。

附加信息

image
image

Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label Dec 19, 2023
Copy link

This issue was closed because it has been stalled for 5 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant