Skip to content

Commit a1fc24b

Browse files
committed
fix: skip prunable-tools injection when manual trigger is pending
1 parent 6c32649 commit a1fc24b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/messages/inject.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ export const insertPruneToolContext = (
215215
logger: Logger,
216216
messages: WithParts[],
217217
): void => {
218-
if (state.manualMode) {
218+
if (state.manualMode || state.pendingManualTrigger) {
219219
return
220220
}
221221

0 commit comments

Comments
 (0)