mirror of
https://github.com/Jerryplusy/rc-plugin.git
synced 2025-10-14 16:19:18 +00:00
🌟 feat: #linux
命令添加AI功能自学习
This commit is contained in:
parent
041bf3a056
commit
c246de71a9
@ -328,7 +328,7 @@ export class query extends plugin {
|
||||
const Msg = await Bot.makeForwardMsg(textArrayToMakeForward(e, [`「R插件 x ${ model }」联合为您总结内容:`, kimiAns]));
|
||||
await e.reply(Msg);
|
||||
// 提取AI返回的内容并进行解析
|
||||
if (linuxOrderData.content.trim() === '') {
|
||||
if (linuxInRedis[order].content.trim() === '') {
|
||||
const parsedData = this.parseAiResponse(order, kimiAns);
|
||||
await redisExistAndUpdateObject(REDIS_YUNZAI_LINUX, order, parsedData);
|
||||
e.reply(`已重新学习命令 ${ order } 的用法,当前已经更新功能为:${ parsedData.content }`);
|
||||
|
Loading…
x
Reference in New Issue
Block a user