mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 06:39:28 +08:00
New self-contained deeptutor/learning/ subsystem (models, storage, service, scheduler, grading) + 12-stage guided_learning capability, REST router, and web learning pages, with 164 tests. Conflict resolutions: - services/llm/factory.py: kept dev's stream runner (allow_image_fallback multimodal path); dropped the PR's incidental 300s asyncio.wait_for wrapper and its now-orphaned TimeoutError handler / unused logger — the blanket timeout is unrelated to guided learning, dev already has consumer-side timeouts, and 300s would truncate long legitimate streams (book/research). - web/components/sidebar/WorkspaceSidebar.tsx: kept dev's structure, added a useCallback handleNewChat that cancels any in-flight streaming turn before newSession() (mirrors handleDeleteSession) and wired it to onNewChat. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>