mirror of
https://github.com/idootop/mi-gpt.git
synced 2025-04-12 22:44:56 +00:00
fix: 恢复原threshold数值
This commit is contained in:
parent
11dc25aa60
commit
bba886e275
|
@ -100,7 +100,7 @@ export class MemoryManager {
|
|||
threshold?: number;
|
||||
}
|
||||
) {
|
||||
const { threshold = 1 } = options;
|
||||
const { threshold = 10 } = options;
|
||||
const lastMemory = firstOf(await this.getShortTermMemories({ take: 1 }));
|
||||
const newMemories: (Memory & {
|
||||
msg: Message & {
|
||||
|
|
Loading…
Reference in New Issue
Block a user