Raise if a concept body is missing or whitespace-only.
(content, name: str)
| 600 | |
| 601 | |
| 602 | def _require_nonempty_content(content, name: str) -> None: |
| 603 | """Raise if a concept body is missing or whitespace-only.""" |
| 604 | if not isinstance(content, str) or not content.strip(): |
| 605 | raise ValueError(f"LLM returned empty content for concept {name!r}") |
| 606 | |
| 607 | |
| 608 | def _filter_related_slugs(items: list) -> list[str]: |
no outgoing calls
no test coverage detected