mirror of
https://github.com/Jerryplusy/rc-plugin.git
synced 2025-10-14 16:19:18 +00:00
✨ feat: 新增临时AI接口
This commit is contained in:
parent
aba9be4908
commit
ffafc6aa26
@ -1762,7 +1762,7 @@ export class tools extends plugin {
|
|||||||
const llmCrawler = await fetch(PearAPI_CRAWLER.replace("{}", summaryLink));
|
const llmCrawler = await fetch(PearAPI_CRAWLER.replace("{}", summaryLink));
|
||||||
const content = (await llmCrawler.json())?.data;
|
const content = (await llmCrawler.json())?.data;
|
||||||
const titleMatch = content.match(/Title:\s*(.*?)\n/)?.[1];
|
const titleMatch = content.match(/Title:\s*(.*?)\n/)?.[1];
|
||||||
e.reply(`${ this.identifyPrefix } 识别:${ name } - ${titleMatch},正在为您总结,请稍等...`, true, { recallMsg: MESSAGE_RECALL_TIME });
|
e.reply(`${ this.identifyPrefix } 识别:${ name } - ${titleMatch},正在为您总结,请稍等...`, true);
|
||||||
const deepseekFreeSummary = await fetch(PearAPI_DEEPSEEK, {
|
const deepseekFreeSummary = await fetch(PearAPI_DEEPSEEK, {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
headers: {
|
headers: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user