fix: 为 auto dream 添加 maxTurns: 20 限制,防止单次执行消耗过多 token
This commit is contained in:
parent
3c960323d7
commit
d866b076ba
|
|
@ -228,6 +228,7 @@ ${sessionIds.map(id => `- ${id}`).join('\n')}`
|
|||
canUseTool: createAutoMemCanUseTool(memoryRoot),
|
||||
querySource: 'auto_dream',
|
||||
forkLabel: 'auto_dream',
|
||||
maxTurns: 20,
|
||||
skipTranscript: true,
|
||||
overrides: { abortController },
|
||||
onMessage: makeDreamProgressWatcher(taskId, setAppState),
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user