mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-23 08:45:50 +00:00
fix: 为 auto dream 添加 maxTurns: 20 限制,防止单次执行消耗过多 token
This commit is contained in:
@@ -228,6 +228,7 @@ ${sessionIds.map(id => `- ${id}`).join('\n')}`
|
|||||||
canUseTool: createAutoMemCanUseTool(memoryRoot),
|
canUseTool: createAutoMemCanUseTool(memoryRoot),
|
||||||
querySource: 'auto_dream',
|
querySource: 'auto_dream',
|
||||||
forkLabel: 'auto_dream',
|
forkLabel: 'auto_dream',
|
||||||
|
maxTurns: 20,
|
||||||
skipTranscript: true,
|
skipTranscript: true,
|
||||||
overrides: { abortController },
|
overrides: { abortController },
|
||||||
onMessage: makeDreamProgressWatcher(taskId, setAppState),
|
onMessage: makeDreamProgressWatcher(taskId, setAppState),
|
||||||
|
|||||||
Reference in New Issue
Block a user