Skip to content

Move summary prompt templates to dedicated file #1182

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

aseemxs
Copy link
Collaborator

@aseemxs aseemxs commented Apr 11, 2025

Extract large string literals from chat/mod.rs into a new prompts.rs file to improve code organization and maintainability. The functionality remains unchanged while making the code more readable.

Suggested comment in #1128

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Extract large string literals from chat/mod.rs into a new prompts.rs file
to improve code organization and maintainability. The functionality
remains unchanged while making the code more readable.
@aseemxs aseemxs requested a review from a team as a code owner April 11, 2025 00:08
@codecov-commenter
Copy link

codecov-commenter commented Apr 11, 2025

Codecov Report

Attention: Patch coverage is 0% with 40 lines in your changes missing coverage. Please review.

Project coverage is 13.97%. Comparing base (04b98f4) to head (70b1b21).
Report is 10 commits behind head on main.

Files with missing lines Patch % Lines
crates/q_cli/src/cli/chat/prompts.rs 0.00% 38 Missing ⚠️
crates/q_cli/src/cli/chat/mod.rs 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1182      +/-   ##
==========================================
+ Coverage   13.94%   13.97%   +0.02%     
==========================================
  Files        2363     2365       +2     
  Lines      204485   204606     +121     
  Branches   184849   184970     +121     
==========================================
+ Hits        28520    28593      +73     
- Misses     174564   174607      +43     
- Partials     1401     1406       +5     

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

2 participants