Skip to content

Commit 3653cb4

Browse files
committed
Keep spawned context message during truncation
1 parent 86ba4b4 commit 3653cb4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

backend/src/tools/handlers/tool/spawn-agent-utils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,7 @@ export function createConversationHistoryMessage(messages: Message[]): Message {
233233
null,
234234
2,
235235
)}`,
236+
keepDuringTruncation: true,
236237
}
237238
}
238239

0 commit comments

Comments
 (0)