Skip to content

Commit 1f06014

Browse files
committed
Rename 'llm-analysis' strategy to 'ai-analysis' for clearer terminology
1 parent 64054bd commit 1f06014

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/config.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { Logger } from './logger'
77
import type { PluginInput } from '@opencode-ai/plugin'
88

99
// Pruning strategy types
10-
export type PruningStrategy = "deduplication" | "llm-analysis"
10+
export type PruningStrategy = "deduplication" | "ai-analysis"
1111

1212
export interface PluginConfig {
1313
enabled: boolean
@@ -37,7 +37,7 @@ const defaultConfig: PluginConfig = {
3737
pruning_summary: 'detailed', // Default to detailed summary
3838
strategies: {
3939
// Default: Full analysis on idle (like previous "smart" mode)
40-
onIdle: ['deduplication', 'llm-analysis'],
40+
onIdle: ['deduplication', 'ai-analysis'],
4141
// Default: Only deduplication when AI calls the tool (faster, no extra LLM cost)
4242
onTool: ['deduplication']
4343
}
@@ -136,11 +136,11 @@ function createDefaultConfig(): void {
136136
"showModelErrorToasts": true,
137137
138138
// Pruning strategies configuration
139-
// Available strategies: "deduplication", "llm-analysis"
139+
// Available strategies: "deduplication", "ai-analysis"
140140
// Empty array = disabled
141141
"strategies": {
142142
// Strategies to run when session goes idle (automatic)
143-
"onIdle": ["deduplication", "llm-analysis"],
143+
"onIdle": ["deduplication", "ai-analysis"],
144144
145145
// Strategies to run when AI calls the context_pruning tool
146146
// Empty array = tool not exposed to AI

0 commit comments

Comments
 (0)