mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-03 23:19:51 +08:00
* chore: remove dead Python modules and helpers Delete unreferenced P0 code identified by the dead-code audit: - services/llm/registry.py and its test-only coverage - logging/adapters package (LlamaIndex log forwarding) - textbook_struct.chapter_rebuild.detect_frames - load_config_with_main_async and its async file helper - memory.trace.iter_by_ids / latest_ts - TokenTracker.format_summary - WeixinChannel._api_get - ArxivSearchTool.extract_arxiv_id_from_url - FileLibraryStore migration scaffolding (_run_migrations et al.) - eight small dead helpers in services, api/utils, and knowledge - redundant runtime C2CMessage import in the QQ channel * chore: drop the prompt-language shim and a dead storage helper The book agents were the last in-tree users of blocks/_language.py, which only re-exported services.prompt.language. Import the real module and delete the shim. storage._storage_path_from_version_entry had no caller. Verified: ruff F401/F811/F841/F821 on changed files; py_compile. --------- Co-authored-by: Antonio-Faure <209759495+Antonio-Faure@users.noreply.github.com>