Remove one resolved clause from the text so generic keywords do not double-fire.
(text: str, clause: str)
| 1556 | |
| 1557 | def _parse_directions_with_llm(text: str) -> Dict[str, Any]: |
| 1558 | """Use the shared canonical direction normalizer as the LLM-backed fallback.""" |
| 1559 | try: |
| 1560 | llm_parser = importlib.import_module("agents.master-coordinator.scripts.llm_parser") |
| 1561 | return llm_parser.normalize_research_directions( |
| 1562 | text, |
| 1563 | auto_persist_known_aliases=True, |
| 1564 | ) |
| 1565 | except Exception as e: |
| 1566 | print(f"LLM direction parsing failed: {e}") |
no outgoing calls
no test coverage detected