feat(handlers): enrich semantic error messages with prescriptive tool hints to prevent LLM hallucination traps

This commit is contained in:
Riz Ashraf committed 2026-09-26 08:47:52 +01:00
1 parent cbef7e5291
commit a24ef598a2
4 files changed
+11 -11

No files matched your search

+1 -1
View File
@@ -293,7 +293,7 @@ impl McpTool for ResolveTechDebtHandler {
if found {
Ok("Tech debt resolved".to_string())
} else {
Err("Tech debt not found".to_string())
Err("Tech debt not found. Please verify the tech debt ID using list_tech_debt.".to_string())
}
}
}