Commit Graph

2047 Commits

Author SHA1 Message Date
XZH
f3c613c842 fix(knowledge): explain scanned PDF parse failures 2026-08-28 12:40:39 -07:00
XZH
6d6c5b23f5 fix(chat): select newly sent branch
Fixes HKUDS/DeepTutor#739
2026-08-28 11:41:45 -07:00
XZH
f43347b915 feat(lightrag): add dedicated model selection (#640) 2026-08-28 11:16:06 -07:00
XZH
cc7221ed2b feat(chat): route explicit quiz requests (#807) 2026-08-28 10:21:41 -07:00
XZH
f65ce2abd5 fix(embedding): enable Jina retrieval roles 2026-08-28 09:23:28 -07:00
XZH
98c68cfe0a docs(knowledge): add note migration guide 2026-08-28 09:14:45 -07:00
XZH
e26f666608 docs(installation): document uninstall and data cleanup 2026-08-28 08:59:35 -07:00
XZH
dae433ed8e test(mastery): trigger ci 2026-08-28 08:46:06 -07:00
Codex
a87d6bfb72 fix(lightrag): retain uncertain initial candidates 2026-08-28 15:45:28 +00:00
Codex
cefc3471f2 fix(lightrag): preserve partially accepted ingress 2026-08-28 15:33:11 +00:00
XZH
8263cddec8 feat(reading): expose EPUB headings in the persistent outline 2026-08-28 08:15:53 -07:00
Codex
8dce8ee545 Fix LightRAG append recovery and fixture tracking 2026-08-28 15:15:48 +00:00
Codex
6d02ff9299 Replace RAG-Anything with native LightRAG pipeline 2026-08-28 15:04:14 +00:00
ZQR1101
8a0ea496f4 fix(llm): disable DeepSeek flash thinking on openai bindings
openai bindings pointed at DeepSeek never inherited flash's thinking:disabled default, so mid-conversation rounds failed with reasoning_content must be passed back. Infer thinking controls from the model id and replay Chat Completions reasoning on tool-call turns.

Fixes #1058
2026-08-28 21:24:15 +08:00
XZH
a32a9a98a1 fix(llm): persist DeepSeek reasoning across turns 2026-08-28 03:09:00 -07:00
weidongyu
e0664b21bb fix(question): validate topic before generation 2026-08-28 17:09:59 +08:00
Bingxi Zhao (Frank)
9e54429426 Merge codex/immersive-reading-v2 into dev
# Conflicts:
#	deeptutor/api/routers/mastery_path.py
#	tests/services/session/test_sqlite_store.py
#	web/app/(workspace)/home/[[...sessionId]]/page.tsx
#	web/components/sidebar/SidebarShell.tsx
2026-08-28 15:01:39 +08:00
Bingxi Zhao (Frank)
3068f580f5 Merge codex/mastery-path-v2 into dev 2026-08-28 14:59:07 +08:00
Bingxi Zhao (Frank)
97a4d0eeef feat(reading): add immersive reading workspace 2026-08-28 14:58:48 +08:00
Bingxi Zhao (Frank)
d57d2983ef feat(mastery): complete v2 learning workflows 2026-08-28 14:58:43 +08:00
ZQR1101
81e5ff8e3d fix(tools): decode unicode escapes in ask_user payloads
Models sometimes emit literal \\uXXXX runs in ask_user and mastery_quiz tool args. Decode dense non-ASCII runs when building learner-facing payloads so cards do not leak escapes (#973).
2026-08-28 13:21:08 +08:00
XZH
c9920a237c feat(book): infer requested language 2026-08-27 20:27:37 -07:00
ZQR1101
7b3c9c0cff fix(web): skip persisting optimistic branch selections
switchBranch wrote negative client ids into selected_branches even though reload hydration drops them (n > 0 only). Keep local UI updates but only POST persisted ids.
2026-08-28 11:25:01 +08:00
XZH
57f39ce183 feat(search): add reference safety filtering (#375) 2026-08-27 14:16:23 -07:00
XZH
65075dc9c0 docs(safety): add reasoning and retrieval checklist (#199) 2026-08-27 14:03:03 -07:00
XZH
f187e2c489 feat(chat): add inline markdown notes (#661) 2026-08-27 13:53:07 -07:00
XZH
db9a3bf8ac feat(rag): add optional cross-encoder reranking 2026-08-27 12:18:55 -07:00
XZH
9ca18f66bd feat(rag): add opt-in HNSW vector indexes 2026-08-27 11:40:15 -07:00
XZH
b984b8709c fix(skills): scope ClawHub installs by publisher (#639) 2026-08-27 11:19:22 -07:00
Junjie Zhou
bf269ec112 fix(llm): route Anthropic temperature via extra_body for SDK 1.x compat
anthropic-sdk-python >= 1.0 (released 2026-08-20) removed `temperature`
from the explicit signature of `AsyncMessages.create()` and
`AsyncMessages.stream()`. Any LLM call through the Anthropic binding —
including the real Anthropic API and any Anthropic-compatible gateway
(e.g. MiniMax, AWS Bedrock Claude) — now raises:

    AsyncMessages.create() got an unexpected keyword argument 'temperature'

The Anthropic API itself still accepts `temperature` as a top-level
request field; the SDK simply forces callers to tunnel it through
`extra_body` instead of accepting it as a first-class kwarg. This patch
moves both `temperature` assignments in `AnthropicProvider._build_kwargs`
from the top-level kwargs to `extra_body`, so the wire payload is
unchanged and SDK 1.x stops rejecting the call.

Tests in test_anthropic_provider_fixes.py are updated to assert against
`extra_body['temperature']` instead of top-level `temperature`, plus a
new `test_temperature_is_routed_via_extra_body` covers the new
behaviour end-to-end.
2026-08-28 01:32:25 +08:00
XZH
d9538192d2 feat(media): add DashScope providers (#1016) 2026-08-27 10:25:41 -07:00
Bingxi Zhao (Frank)
e67643ba11 fix(mastery): polish migrated topics and live cleanup 2026-08-28 00:55:19 +08:00
Bingxi Zhao (Frank)
3f8644d6e9 fix(mastery): persist v2 metadata for migrated topics 2026-08-28 00:16:39 +08:00
Bingxi Zhao (Frank)
1b5ad913d4 feat(mastery): ship atlas and guided study journeys 2026-08-28 00:09:44 +08:00
XZH
7686e8f1f8 fix(partners): coalesce streaming draft updates 2026-08-27 08:18:41 -07:00
Bingxi Zhao (Frank)
ac8940f33e feat(mastery): add live v2 frontend client 2026-08-27 23:17:17 +08:00
Bingxi Zhao (Frank)
3f2a70f168 feat(mastery): add v2 topic backend and archive migration 2026-08-27 23:10:15 +08:00
XZH
cadceb8a50 test(video-learning): cover capability registry entry 2026-08-27 07:37:25 -07:00
XZH
999c658187 fix(reading): bind citations to turn materials and verified locators 2026-08-27 07:26:17 -07:00
XZH
50d0472527 feat(video-learning): add YouTube immersive watching 2026-08-27 07:24:12 -07:00
Bingxi Zhao (Frank)
bd9f6a7625 release: v1.6.0 — connected learning workspaces
Release notes: assets/releases/ver1-6-0.md

Ship source-faithful reading, Courses and Little Tutor, Ask Questions,
bounded web-source sync, and shared Books with private reader state.
v1.6.0
2026-08-27 22:03:09 +08:00
zhou2030109-glitch
b342b63b7a fix: align Windows exec runtime and search readiness 2026-08-27 17:17:03 +08:00
Benjamin
b277247036 feat(reading): add citation capture 2026-08-27 16:16:54 +08:00
Benjamin
e3d8b05c0d feat(reading): add chat section references 2026-08-27 16:15:28 +08:00
ZQR1101
a8e5e91f88 fix(web): resolve optimistic ids before deleteTurn
editMessage already uses resolvePersistedMessage after #753, but deleteTurn still re-read stateRef after loadSession and could miss the persisted id on the first attempt. Route delete through the same refresh-snapshot helper.
2026-08-27 12:06:23 +08:00
ZQR1101
30f8ab86cc style(api): sort outputs router imports for ruff I001 2026-08-27 12:05:38 +08:00
XZH
8b24f1ae67 fix(tools): route file generation through code execution 2026-08-26 19:19:54 -07:00
zhou2030109-glitch
bb6b0cd629 fix: make deep research resilient to interrupted streams 2026-08-27 10:11:00 +08:00
XZH
7028f7e511 feat(settings): expose custom reasoning effort 2026-08-26 19:01:49 -07:00
XZH
f5e4b7cd48 fix(mastery): add explicit question recovery exit 2026-08-26 18:57:06 -07:00