Skip to content

DeepTutor: Lifelong Personalized Tutoring. https://deeptutor.info/.

3.4 KB
Raw Blame

πŸš€ DeepTutor v0.3.0 Release Notes

Release Date: January 6, 2026

We're excited to announce DeepTutor v0.3.0! This release focuses on developer experience improvements, CI/CD automation, and simplified local deployment.

✨ Highlights

πŸ—οΈ Unified PromptManager Architecture

A major refactor consolidates all prompt loading across 10+ agent modules into a centralized PromptManager singleton:

  • Global caching with module-level invalidation for improved performance
  • Language fallback chain (zh β†’ en, en β†’ zh) for seamless i18n support
  • ISO 639-1 compliance β€” all cn/ prompt directories renamed to zh/
  • Simplified agent code by removing redundant _load_prompts methods and class-level caches

πŸ€– GitHub Actions & CI/CD

Introducing automated workflows for better code quality and easier deployment:

Workflow Description
dependabot.yml Automatic dependency updates (pip, npm, GitHub Actions, Docker)
tests.yml Automated testing on push/PR
docker-publish.yml Auto-publish Docker images to GHCR

🐳 Pre-built Docker Images

Deploy in ~30 seconds using our pre-built image from GitHub Container Registry:

docker run -d --name deeptutor
-p 8001:8001 -p 3782:3782
--env-file .env
-v $(pwd)/data:/app/data
ghcr.io/hkuds/deeptutor:latest### 🏠 Local-First LLM Configuration

Simplified settings page now focuses exclusively on local LLM providers:

  • βœ… Ollama (default)
  • βœ… LM Studio
  • ❌ Removed cloud providers (OpenAI, Gemini, Azure, etc.)

This aligns with DeepTutor's vision for privacy-first, self-hosted AI tutoring.

πŸ“¦ What's Changed

Core Infrastructure

  • Added deeptutor/core/prompt_manager.py with singleton PromptManager
  • Export get_prompt_manager() from deeptutor/core/__init__.py
  • Added /api/v1/config/agents endpoint for data-driven frontend configuration

Agent Modules Migrated (10 files)

  • research/agents/base_agent.py
  • solve/base_agent.py
  • guide/agents/base_guide_agent.py
  • question/agents/generation_agent.py
  • question/agents/validation_agent.py
  • question/validation_workflow.py
  • ideagen/idea_generation_workflow.py
  • ideagen/material_organizer_agent.py
  • co_writer/edit_agent.py
  • co_writer/narrator_agent.py

Removed Legacy Code

  • Deleted deeptutor/agents/solve/utils/prompt_loader.py
  • Removed use_prompt_loader parameter from BaseAgent
  • Cleaned up _PROMPT_CACHE class-level caches across all modules
  • Removed PromptLoader exports from solve/__init__.py

⬆️Upgrade

git pull origin main docker pull ghcr.io/hkuds/deeptutor:latestCloses #33

What's Changed

🀝New Contributors