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:
Fahad
2025-06-10 14:59:18 +04:00
parent 7ab0d42dd3
commit 1be339ecc0
3 changed files with 10 additions and 4 deletions

View File

@@ -143,4 +143,4 @@ Please provide a thoughtful, comprehensive response:"""
def format_response(self, response: str, request: ChatRequest) -> str:
"""Format the chat response with actionable guidance"""
return f"{response}\n\n---\n\n**Claude's Turn:** Evaluate this perspective alongside your analysis to form a comprehensive solution."
return f"{response}\n\n---\n\n**Claude's Turn:** Evaluate this perspective alongside your analysis to form a comprehensive solution and continue with the user's request and task at hand."