Skip to content

Commit e175f76

Browse files
committed
fix: reduce token trigger limit for summarization middleware
1 parent f7a2e68 commit e175f76

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

agent/simpleAgent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ export async function callAgent(params: {
267267
sequenceDebugMiddleware,
268268
summarizationMiddleware({
269269
model: summaryModel,
270-
trigger: { tokens: 1024 * 128 },
270+
trigger: { tokens: 1024 * 64 },
271271
keep: { messages: 10 },
272272
}),
273273
] as const;

0 commit comments

Comments
 (0)