enhance: improve tool prompts with better file request grounding and response guidance
- Update DEBUG_ISSUE_PROMPT to request files when diagnostics are irrelevant/incomplete - Clarify question field to specify what information is needed from Claude/user - Update chat tool format_response to ask Claude to continue with user's request - Update debug tool format_response to encourage implementing fixes when root cause identified - Fix line length formatting to comply with 120 char limit 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -186,4 +186,9 @@ Focus on finding the root cause and providing actionable solutions."""
|
||||
|
||||
def format_response(self, response: str, request: DebugIssueRequest) -> str:
|
||||
"""Format the debugging response"""
|
||||
return f"Debug Analysis\n{'=' * 50}\n\n{response}\n\n---\n\n**Next Steps:** Evaluate Gemini's recommendations, synthesize the best fix considering potential regressions, test thoroughly, and ensure the solution doesn't introduce new issues."
|
||||
return (
|
||||
f"Debug Analysis\n{'=' * 50}\n\n{response}\n\n---\n\n"
|
||||
"**Next Steps:** Evaluate Gemini's recommendations, synthesize the best fix considering potential "
|
||||
"regressions, and if the root cause has been clearly identified, proceed with implementing the "
|
||||
"potential fixes."
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user