fix: surface retrieved evidence when model abstains

This commit is contained in:
Hamza Ayed
2026-10-04 14:07:35 +03:00
parent d1010b79d7
commit bdd722e6e9
5 changed files with 622 additions and 1 deletions
+7
View File
@@ -733,8 +733,15 @@ def _is_knowledge_answer_insufficient(answer: str) -> bool:
"لم أجد",
"لا يحتوي على معلومات مباشرة",
"لا تحتوي على معلومات مباشرة",
"المعلومات المتوفرة لا تجيب",
"المعلومات المتاحة لا تجيب",
"لا تجيب على سؤالك",
"لا تجيب على السؤال",
"no direct evidence",
"no relevant passage",
"does not answer the question",
"doesn't answer the question",
"cannot answer the question",
"could not find",
"couldn't find",
"does not contain",