mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 05:47:11 +00:00
fix: update prompt
This commit is contained in:
parent
09753d2a82
commit
660de1b462
2 changed files with 11 additions and 9 deletions
|
|
@ -45,9 +45,6 @@ export class MemoryManager extends plugin {
|
|||
dsc: '处理记忆系统相关的采集与管理',
|
||||
event: 'message',
|
||||
priority: 550,
|
||||
task: [
|
||||
|
||||
],
|
||||
rule: [
|
||||
// {
|
||||
// reg: '[\\s\\S]+',
|
||||
|
|
@ -78,13 +75,15 @@ export class MemoryManager extends plugin {
|
|||
]
|
||||
})
|
||||
|
||||
collector.tickHistoryPolling(true).catch(err => logger.error('Failed to trigger initial group history poll:', err))
|
||||
this.task.push({
|
||||
// 兼容miao和trss,气死了
|
||||
let task = {
|
||||
name: 'ChatGPT-群记忆轮询',
|
||||
cron: '*/1 * * * *',
|
||||
fnc: this.pollHistoryTask.bind(this),
|
||||
log: false
|
||||
})
|
||||
}
|
||||
this.task = [task]
|
||||
|
||||
}
|
||||
|
||||
async collect (e) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue