fix: add xiao xiao

This commit is contained in:
熊潇 2025-06-27 22:38:24 +08:00
parent bce94f52a0
commit 204165bf73
3 changed files with 107 additions and 0 deletions

View File

@ -19,6 +19,14 @@ export const cmdList: {
key: 'good-job', key: 'good-job',
}, },
}, },
{
category: '指令来了',
description: `召唤小助手过来`,
action: {
path: 'tools',
key: 'call-xiaoxiao',
},
},
]; ];
agent agent
@ -88,3 +96,4 @@ ${text}
ctx.body = { cmd, text: text }; ctx.body = { cmd, text: text };
}) })
.addTo(agent); .addTo(agent);

View File

@ -7,5 +7,6 @@ import './fix/prompt.ts';
import './xhs.ts'; import './xhs.ts';
import './tools/kuaren.ts'; import './tools/kuaren.ts';
import './tools/call-xiaoxiao.ts';
export { agent }; export { agent };

View File

@ -0,0 +1,97 @@
import { agent } from '../agent.ts';
import { ai } from '../ai.ts';
const kuarenPrompt = `### 浮夸夸人
****
vs
---
#### ** & **
1. **/**
- ****"你这张脸是上帝亲手雕的吧?下凡辛苦了!"
- ****
2. **/**
- ****"你这大脑是装了个量子计算机吗?!建议直接保送诺贝尔奖!"
- ****
3. **/**
- ****"你说话是撒了魔法金粉吗?听一句我灵魂都被净化了!"
- ****
4. **/**_重点_
- ****"你刚刚递咖啡的姿势,直接拍成广告能救活整个咖啡行业!"
- ****
---
#### ****
****
>
> 0.1
****
>
>
****
> XX XX
>
****_配合文字使用效果翻倍_
> .jpg 🍵
> .gif 🙇
---
#### ****
💥 ** 1**
> 线
💥 ** 2**
> 🌌
💥 ** 3**
> 🗿
####
`;
const pickGoodJobPrompt = `对提供的文字,提取单个的夸奖内容,并丰富为纯口语化模式,同时在括号中添加对应的姿态语言描述,同时添加了括号中的姿态语言描述,使其更具临场感和情感色彩。
1.
2.
3. 姿
4.
5.
6.
7.
`;
agent
.route({
path: 'tools',
key: 'call-xiaoxiao',
})
.define(async (ctx) => {
ctx.body = '来了,来了。';
})
.addTo(agent);