Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions apps/web/src/app/config.json/extras.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,5 +117,15 @@ export const kiloExtras = {
default: true,
type: 'boolean',
},
swe_pruner: {
description:
'Enable SWE-Pruner: task-aware pruning of large read/grep tool outputs guided by a focus question provided by the agent (default: false)',
type: 'boolean',
},
swe_pruner_model: {
description:
'Model used by SWE-Pruner to skim tool outputs, in "provider/model" format (default: the configured small model)',
type: 'string',
},
},
} as const;
2 changes: 2 additions & 0 deletions apps/web/src/tests/cli-config-schema.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ describe('kilo config.json schema merge', () => {
expect.objectContaining({ type: 'boolean' })
);
expect(exp.properties.openTelemetry).toBeDefined();
expect(exp.properties.swe_pruner).toEqual(expect.objectContaining({ type: 'boolean' }));
expect(exp.properties.swe_pruner_model).toEqual(expect.objectContaining({ type: 'string' }));
expect(exp.properties.batch_tool).toBeDefined(); // upstream key preserved
});

Expand Down