Skip to content

feat(nvim): tuned system prompt and added project_root to the tool output.#129

Merged
Davidyz merged 1 commit intomainfrom
nvim/codecompanion-prompt-fix
May 10, 2025
Merged

feat(nvim): tuned system prompt and added project_root to the tool output.#129
Davidyz merged 1 commit intomainfrom
nvim/codecompanion-prompt-fix

Conversation

@Davidyz
Copy link
Owner

@Davidyz Davidyz commented May 10, 2025

This PR tuned the system prompt so that the model shouldn't include the <path> </path> tags in the answer.

This also added the project_root to the tool output presented to the user, so that users have a better idea about whether the tool call was appropriate when performing joint search.

@Davidyz Davidyz added bug Something isn't working fix labels May 10, 2025
@codecov
Copy link

codecov bot commented May 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.24%. Comparing base (9744867) to head (22366fb).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #129   +/-   ##
=======================================
  Coverage   99.24%   99.24%           
=======================================
  Files          22       22           
  Lines        1463     1463           
=======================================
  Hits         1452     1452           
  Misses         11       11           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Davidyz Davidyz merged commit 2815496 into main May 10, 2025
12 checks passed
@Davidyz Davidyz deleted the nvim/codecompanion-prompt-fix branch May 10, 2025 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant