refactor: minor prompt tweaks

This commit is contained in:
Fahad
2025-08-21 12:23:13 +04:00
parent 90821b51ff
commit d30c212029
2 changed files with 20 additions and 26 deletions

View File

@@ -22,16 +22,15 @@ from .simple.base import SimpleTool
# Field descriptions matching the original Chat tool exactly
CHAT_FIELD_DESCRIPTIONS = {
"prompt": (
"You MUST provide a thorough, expressive question or share an idea with as much context as possible. "
"IMPORTANT: When referring to code, use the files parameter to pass relevant files and only use the prompt to refer to "
"function / method names or very small code snippets if absolutely necessary to explain the issue. Do NOT "
"pass large code snippets in the prompt as this is exclusively reserved for descriptive text only. "
"Remember: you're talking to an assistant who has deep expertise and can provide nuanced insights. Include your "
"current thinking, specific challenges, background context, what you've already tried, and what "
"kind of response would be most helpful. The more context and detail you provide, the more "
"valuable and targeted the response will be."
"Provide a thorough, expressive question or idea with maximum context. Include your current thinking, specific "
"challenges, background context, what you've tried, and what kind of response would be most helpful. "
"The more context and detail you provide, the more valuable and targeted the response will be. "
"NOTE: You're talking to a thought-partner who has deep expertise and can provide nuanced insights. "
"IMPORTANT: When referring to code, use the files parameter to pass relevant file paths. Use this prompt for "
"function/method names or tiny code snippets if absolutely necessary to explain the issue and to refer to "
"code from the provided paths."
),
"files": "Optional files for context (must be FULL absolute paths to real files / folders - DO NOT SHORTEN)",
"files": "Absolute full-paths to existing files / folders for context. DO NOT SHORTEN.",
"images": (
"Optional images for visual context. Useful for UI discussions, diagrams, visual problems, "
"error screens, or architectural mockups. (must be FULL absolute paths to real files / folders - DO NOT SHORTEN - OR these can be bas64 data)"