File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
content/providers/01-ai-sdk-providers Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -268,7 +268,7 @@ const result = await generateText({
268268 edits: [
269269 {
270270 type: ' clear_thinking_20251015' ,
271- keep: { type: ' thinking_blocks ' , value: 2 },
271+ keep: { type: ' thinking_turns ' , value: 2 },
272272 },
273273 ],
274274 },
@@ -290,7 +290,7 @@ if (metadata?.appliedEdits) {
290290 console .log (` Cleared ${edit .clearedToolUses } tool uses ` );
291291 console .log (` Freed ${edit .clearedInputTokens } tokens ` );
292292 } else if (edit .type === ' clear_thinking_20251015' ) {
293- console .log (` Cleared ${edit .clearedThinkingBlocks } thinking blocks ` );
293+ console .log (` Cleared ${edit .clearedThinkingTurns } thinking turns ` );
294294 console .log (` Freed ${edit .clearedInputTokens } tokens ` );
295295 }
296296 });
You can’t perform that action at this time.
0 commit comments