feat(classifier): implement Tier 3 LLM fallback adapter and boundary disambiguation test suite
This commit is contained in:
@@ -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 ""
|
||||
|
||||
Reference in New Issue
Block a user