Skip to content

Conversation

@mrubens
Copy link
Collaborator

@mrubens mrubens commented Jan 21, 2025

Important

Adds a diff strategy to the system prompt preview in ClineProvider and updates tests to verify this behavior.

  • Behavior:
    • Adds diffStrategy to getSystemPrompt in ClineProvider.ts to include diff strategy in system prompt preview.
    • Uses getDiffStrategy to create diffStrategy based on model and settings.
  • Tests:
    • Mocks getDiffStrategy in ClineProvider.test.ts to return a mock diff strategy.
    • Adds test to verify diffStrategy is passed to SYSTEM_PROMPT in ClineProvider.test.ts.

This description was created by Ellipsis for 77fa8b1. It will automatically update as commits are pushed.

@changeset-bot
Copy link

changeset-bot bot commented Jan 21, 2025

🦋 Changeset detected

Latest commit: 77fa8b1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
roo-cline Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@mrubens mrubens merged commit 9702261 into main Jan 21, 2025
6 checks passed
@mrubens mrubens deleted the add_diffs_to_preview branch January 21, 2025 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants