mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-04 22:19:42 +08:00
Configurable chat attachment limits, PageIndex retrieval by reasoning over your documents, broader Anthropic/OpenAI model support, and a sweep of Book / Knowledge Base / chat-UI reliability fixes. Drop-in — no migrations. - attachments: size caps + extraction budgets editable in Settings → Chat → Attachments (admin), stored in system.json with CHAT_ATTACHMENT_* env overrides; the WebSocket frame ceiling is now derived from the total cap, fixing large uploads silently dropping the connection. - pageindex: chat retrieves via an internal MCP server (agentic tool calls over the document tree); search() returns the outline; ingestion accepts PDF/Office/Markdown/text/CSV. - llm: newer Anthropic/OpenAI models via official SDKs incl. Codex native tools; effort-based Claude → adaptive thinking; corrected temperature- rejection set; streamed usage counted once per completion. - book/knowledge: rescue stuck GENERATING/PLANNING pages + reset on failure; KB status updates on upload/sync; atomic manager writes. - web/channels: full-width chat + single scrollbar, aligned composer, Enter sends edited message, malformed-markdown crash fix; WeCom aligned with SDK 1.0.8; Mastery recency weighting restored (#618). - release notes ver1-5-2.md (v1.5.0/v1.5.1 archived to past_releases/), __version__ bump to 1.5.2, README Releases row + one-week fold. - README Settings/config prose + all 10 translations synced; docs settings/knowledge/chat pages updated separately in site/. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
12 lines
357 B
Python
12 lines
357 B
Python
"""Single source of truth for the DeepTutor version.
|
|
|
|
To cut a release, bump ``__version__`` here, commit, and tag the commit with
|
|
``v<__version__>`` (e.g. ``v1.4.0``). CI verifies the tag matches this value
|
|
before publishing to PyPI; the web sidebar badge and CLI banner read from this
|
|
file directly.
|
|
"""
|
|
|
|
__version__ = "1.5.2"
|
|
|
|
__all__ = ("__version__",)
|