feat(classifier): implement Tier 3 LLM fallback adapter and boundary disambiguation test suite

This commit is contained in:
2026-08-21 10:50:57 -03:00
parent cb33dafac1
commit 31152d5031
25 changed files with 2997 additions and 1404 deletions
+1 -1
View File
@@ -146,7 +146,7 @@ def validate_url(value: Any) -> Optional[str]:
return None
def convert_html_to_markdown(html_content: str) -> str:
def convert_html_to_markdown(html_content: Optional[str]) -> str:
"""Converte HTML para Markdown usando títulos ATX, removendo scripts e estilos."""
if not html_content or not isinstance(html_content, str) or not html_content.strip():
return ""