Skip to content

Commit 1b8bac6

Browse files
author
Eric Wheeler
committed
fix: pass multi-block flag to getDiffStrategy in system instructions
When previewing system instructions, getDiffStrategy was not receiving the MULTI_SEARCH_AND_REPLACE flag, causing the instructions to show the wrong diff strategy description. Now correctly passing the flag to ensure the proper diff strategy description is shown in system instructions. Signed-off-by: Eric Wheeler <roo-code@z.ewheeler.org>
1 parent 81692a4 commit 1b8bac6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/core/webview/ClineProvider.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2046,6 +2046,7 @@ export class ClineProvider extends EventEmitter<ClineProviderEvents> implements
20462046
apiConfiguration.apiModelId || apiConfiguration.openRouterModelId || "",
20472047
fuzzyMatchThreshold,
20482048
Experiments.isEnabled(experiments, EXPERIMENT_IDS.DIFF_STRATEGY),
2049+
Experiments.isEnabled(experiments, EXPERIMENT_IDS.MULTI_SEARCH_AND_REPLACE),
20492050
)
20502051
const cwd = this.cwd
20512052

0 commit comments

Comments
 (0)