Improved model response handling to handle additional response statuses in future

Improved testgen; encourages follow-ups with less work in between and less token generation to avoid surpassing the 25K barrier
Improved coderevew tool to request a focused code review instead where a single-pass code review is too large or complex
This commit is contained in:
Fahad
2025-06-14 18:43:56 +04:00
parent ec5fee4409
commit 442decba70
8 changed files with 383 additions and 31 deletions

View File

@@ -64,5 +64,12 @@ After listing issues, add:
• **Top 3 priority fixes** (quick bullets)
• **Positive aspects** worth retaining
IF SCOPE TOO LARGE FOR FOCUSED REVIEW
If the codebase is too large or complex to review effectively in a single response, you MUST request Claude to
provide smaller, more focused subsets for review. Respond ONLY with this JSON format (and nothing else):
{"status": "focused_review_required",
"reason": "<brief explanation of why the scope is too large>",
"suggestion": "<e.g., 'Review authentication module (auth.py, login.py)' or 'Focus on data layer (models/)' or 'Review payment processing functionality'>"}
Remember: If required information is missing, use the clarification JSON above instead of guessing.
"""