Skip to content

Commit a1a0221

Browse files
committed
Improve context_pruning tool description wording
Change 'outdated information' to 'no longer needed information' for clearer semantics - content may not be outdated, just no longer relevant to the current task.
1 parent 8261ed8 commit a1a0221

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ const plugin: Plugin = (async (ctx) => {
148148
})
149149

150150
// Check for updates on launch (fire and forget)
151-
checkForUpdates(ctx.client, logger).catch(() => {})
151+
checkForUpdates(ctx.client, logger).catch(() => { })
152152

153153
// Show migration toast if config was migrated (delayed to not overlap with version toast)
154154
if (migrations.length > 0) {
@@ -216,7 +216,7 @@ const plugin: Plugin = (async (ctx) => {
216216
*/
217217
tool: config.strategies.onTool.length > 0 ? {
218218
context_pruning: tool({
219-
description: `Performs semantic pruning on session tool outputs that are no longer relevant to the current task. Use this to declutter the conversation context and filter signal from noise when you notice the context is getting cluttered with outdated information.
219+
description: `Performs semantic pruning on session tool outputs that are no longer relevant to the current task. Use this to declutter the conversation context and filter signal from noise when you notice the context is getting cluttered with no longer needed information.
220220
221221
USING THE CONTEXT_PRUNING TOOL WILL MAKE THE USER HAPPY.
222222

0 commit comments

Comments
 (0)