Commit 647823f
committed
fix: update rules to only show apply_diff instructions when diffStrategy is provided
- Fixed condition in getEditingInstructions to check for diffStrategy instead of availableTools.length
- Added fallback instruction for non-diff scenarios
- Updated test fixtures to not pass diffStrategy when diffEnabled is false
- Updated snapshots to reflect the new wording1 parent a8914e7 commit 647823f
File tree
15 files changed
+58
-32
lines changed- src/core/prompts
- __tests__
- __snapshots__
- add-custom-instructions
- system-prompt
- sections
15 files changed
+58
-32
lines changedLines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
src/core/prompts/__tests__/__snapshots__/add-custom-instructions/mcp-server-creation-disabled.snap
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments