feat: add comfort user

This commit is contained in:
2025-06-30 01:59:26 +08:00
parent 42da851c37
commit 143cbc877c
8 changed files with 96 additions and 99 deletions

View File

@@ -1,6 +1,7 @@
import { nanoid } from 'nanoid';
import { agent } from './agent.ts';
import { ai } from './ai.ts';
import { logger } from './logger.ts';
/**
* 清除文本中的@信息
* @param text
@@ -64,6 +65,8 @@ agent
ctx.body = res.body || '';
return;
}
} else {
logger.error('指令分析错误:', analyzeRes.message);
}
}
const resFix = await agent.call({