Loading
refactor(ai): fix TODOs - split functions, add LLM input limits
- Split ambiguous get_status() into get_status(document_id) and list_statuses(workspace) for clarity (operations/pipeline.py, __init__.py) - Add input size limits to LLM prompts to prevent token overflow: ABSTRACT_INPUT_LIMIT=5000, SUMMARY_INPUT_LIMIT=8000, KEYWORDS_INPUT_LIMIT=5000 (operations/summarize.py) - Refactor checkout_tdoc_to_workspace() into _resolve_tdoc_metadata() and _checkout_tdoc_if_needed() for better testability (operations/workspaces.py) - Add valid_from/valid_to temporal validity fields to GraphNode and GraphEdge models (models.py)