github HKUDS/DeepTutor v1.4.13

3 hours ago

DeepTutor v1.4.13 Release Notes

Release Date: 2026.06.27

A fixes-and-polish follow-up to v1.4.12: partners with non-Latin names create correctly and can be handed to specific users, logos render after login in multi-user mode, and small knowledge bases retrieve reliably. Drop-in — no migrations.

What's New

Partners: any-language names, and admin assignment

Creating a partner with a Chinese (or any non-Latin) name now works — the id keeps Unicode letters instead of collapsing to an empty slug. Partners also become a grantable resource: an admin can assign specific partners to specific non-admin users, who then see, connect, and consult them in chat. The partner still runs in its own isolated workspace, and the partner CRUD API stays admin-only — a grant only opens the door to use an assigned partner.

Multi-user: logos and static assets render after login

In a multi-user deployment, the sidebar logo and login banner showed up broken after signing in (issue #599): the auth gate bounced the Next.js image optimizer's cookie-less loopback fetch to /login. Public static assets now bypass the gate, so logos, favicons, fonts, and icons load normally. The middleware's routing policy moved into a pure, unit-tested module.

Small knowledge bases retrieve reliably

Hybrid (BM25) retrieval crashed on a knowledge base with only a document or two, because the requested result count exceeded the number of indexed chunks. The count is now clamped to the corpus size, so tiny knowledge bases return what they have instead of erroring at query time.

One upload limit for every format

Document uploads now share a single 200 MB limit across all formats; the separate, lower cap that rejected larger PDFs is gone. The in-container proxy body limit was raised to match, so large uploads pass through without silent truncation.

Portable container startup

The container's supervisord configuration now starts cleanly under both rootful Docker/Podman and rootless Podman with userns_mode: keep-id. It no longer pins its own privilege or writes to a root-owned path, removing a startup failure (and a cosmetic pidfile warning) under rootless keep-id.

Upgrade Notes

Drop-in from v1.4.12: pip install -U deeptutor; Docker users pull ghcr.io/hkuds/deeptutor:latest. No migrations and no behavior changes for existing single-user setups. In multi-user deployments, assigning a partner to a user is a new option in the grant editor — nothing changes until you use it.

Full Changelog: v1.4.12...v1.4.13

Don't miss a new DeepTutor release

NewReleases is sending notifications on new releases.