We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cdbc4be commit 6f9068eCopy full SHA for 6f9068e
1 file changed
backend/api/routers/chat_router.py
@@ -2024,7 +2024,9 @@ def build_philosophical_lead_in(question: str) -> str:
2024
else:
2025
# CRITICAL: Extract newline character outside f-string to avoid syntax error
2026
manifest_warning_en = ""
2027
- if has_manifest:
+ # CRITICAL: Only inject manifest instruction if question is about validators/layers
2028
+ # Otherwise, it will override the actual question (e.g., Knowledge Gap questions)
2029
+ if has_manifest and is_validator_question:
2030
# Use manifest info from context if available, otherwise fallback to ManifestLoader
2031
if manifest_info:
2032
manifest_info_display = manifest_info
0 commit comments