Commit Graph

1000 Commits

Author SHA1 Message Date
Anthony
52d050cdaa fix(voice): drop repeated quad key and sort a reading test import
Ruff F601 rejected the second quad entry in the TTS spacing map. Ruff I001 wanted the reading media-note imports in one block.
2026-09-22 19:41:38 -07:00
Anthony
4b1bcba8a9 fix(voice): stop speaking asterisks and drop the play-aloud auto-play prompt
Unwrap bold, italic, and strike before TTS so leftover asterisks are not spoken. Play aloud only plays that reply; auto-play stays a Settings preference. Failed synthesis shows an error toast, and stop cancels an in-flight request.
2026-09-22 19:41:20 -07:00
Bingxi Zhao (Frank)
453b06063b Merge PR #1344 Ukrainian locale after conflict resolution 2026-09-23 10:38:18 +08:00
Bingxi Zhao (Frank)
83121eecea fix(web): restore notebook tooltip import and tool hint locale fallback 2026-09-23 10:35:30 +08:00
Bingxi Zhao (Frank)
d6825cb695 Merge PR #1344: add Ukrainian language support 2026-09-23 10:34:40 +08:00
Bingxi Zhao (Frank)
dadb762744 Merge pull request #1360 from fetw882/feat/grok-cli-connector
feat: add Grok CLI subagent connector
2026-09-23 10:34:26 +08:00
Bingxi Zhao (Frank)
7d330f043c Merge remote-tracking branch 'origin/pr-1503' into codex/merge-pr-1503
# Conflicts:
#	deeptutor/services/session/turns/executor.py
2026-09-23 10:32:28 +08:00
Bingxi Zhao
921160d3f8 Merge pull request #1335 from TaoufikMejri/feat/add-french-translation
feat: add french as supported language
2026-09-23 10:26:44 +08:00
Bingxi Zhao
c4cf5a69a5 Merge pull request #1532 from antmikinka/feat/tts-math-speak
feat(voice): verbalize LaTeX in TTS with a Math speak setting
2026-09-23 10:26:23 +08:00
Bingxi Zhao
44e7da44db Merge pull request #1494 from wumajiehechuan-lab/feat/lightrag-llm-timeout
feat(rag): expose LightRAG llm_timeout so extraction LLM timeouts are tunable
2026-09-23 10:25:50 +08:00
Bingxi Zhao
1c3ce00d0b Merge pull request #1323 from larryluozhang/fix/learner-surface-map
fix(learner): complete surface map for first-party learner screens + flip preset on restrictions assignment (#1222)
2026-09-23 10:25:29 +08:00
Bingxi Zhao
4a614074ed Merge pull request #1343 from tggo/fix/claude-temperature-deprecated
fix(anthropic): stop sending `temperature` to Claude Sonnet 5 / Opus 4.8
2026-09-23 10:25:17 +08:00
Bingxi Zhao
8b4b712fc0 Merge pull request #1470 from wumajiehechuan-lab/chore/qrcode-core-dependency
chore(deps): 让 qrcode 随核心依赖安装
2026-09-23 10:25:11 +08:00
Bingxi Zhao
3d39357ed8 Merge pull request #1539 from ZQR1101/fix/session-summary-language
fix(session): name the reply language in the compaction instruction (#1511)
2026-09-23 10:24:59 +08:00
Bingxi Zhao
40051be22a Merge pull request #1537 from ZQR1101/fix/question-generation-reasoning-starvation
fix(question): retry a starved quiz repair, and count it honestly (#1508)
2026-09-23 10:24:53 +08:00
Bingxi Zhao
5c1495b3f6 Merge pull request #1513 from evan188199-tech/codex/fix/rag-empty-result
fix(rag): report empty retrieval results (#1500)
2026-09-23 10:24:47 +08:00
Bingxi Zhao
d43e24a048 Merge pull request #1499 from AoHanBei/fix/llm-key-rotation-exhaust-pool
fix(llm): try every API key after rate limits
2026-09-23 10:24:42 +08:00
Bingxi Zhao
2b1ccbec39 Merge pull request #1492 from AoHanBei/fix/llm-pricing-exact-match
fix(usage): prefer exact model pricing matches
2026-09-23 10:24:18 +08:00
Bingxi Zhao
4921d61846 Merge pull request #1496 from wumajiehechuan-lab/fix/loopback-health-check-proxy
fix(runtime): bypass system proxy for loopback health checks
2026-09-23 10:24:08 +08:00
Bingxi Zhao
3da6cbd1e7 Merge pull request #1456 from hyeonsang010716/fix/marginnote4-close-store-connections
fix(marginnote4): close the store's SQLite connections
2026-09-23 10:24:01 +08:00
Bingxi Zhao
b05ccdba58 Merge pull request #1408 from AoHanBei/feat/1405-chatgpt-import
feat(imports): add ChatGPT conversation export support
2026-09-23 10:23:40 +08:00
Bingxi Zhao
d5834edef0 Merge pull request #1382 from evan188199-tech/codex/fix/output-path-allowance
fix(path-service): restore workspace chat output downloads
2026-09-23 10:23:30 +08:00
Bingxi Zhao
c50a12eb3a Merge pull request #1373 from evan188199-tech/codex/fix/ask-user-waiter-loss
fix(turns): recover replies after waiter queue loss
2026-09-23 10:23:18 +08:00
Bingxi Zhao
d048b835e8 Merge pull request #1529 from unifically-dev/feat/unifically-provider
Add Unifically LLM provider
2026-09-23 10:22:49 +08:00
Bingxi Zhao
b95497d631 Merge pull request #1495 from XinyongGuo/fix/grok-large-context-window
fix(llm): treat grok as a large-context family
2026-09-23 10:22:36 +08:00
Bingxi Zhao
89a716d6c5 Merge pull request #1485 from jacyzz/fix/notebook-path-traversal
fix(notebook): prevent path traversal via read/write path asymmetry
2026-09-23 10:22:13 +08:00
Bingxi Zhao (Frank)
eabc17d79f release: v1.6.10
Native LightRAG role models: extraction, keyword, query and vision each
resolve their own model, vision indexing pins a vision-capable model
instead of silently degrading, and a knowledge base records which models
and which embedding built it. A published index refuses queries after its
embedding identity changes rather than searching a foreign vector space,
and a rebuild is confirmed against the configuration it will actually
use — a stale confirmation is rejected instead of quietly rebuilding
something else. A failed publication is withdrawn, not left half-written.

PDF attachments follow the parsing engine configured for the workspace,
report the stage they are in, and a truncated answer says it was
truncated with the counters that prove it. Providers are no longer
filtered out of the embedding picker on an unverifiable capability guess:
configure the model and test it. Visualize's temperature and token budget
are settings rather than literals. Notebook evidence no longer depends on
the chat session that produced it.

See assets/releases/ver1-6-10.md for the full notes, and the README
translations for the propagated prose.
2026-09-22 21:36:27 +08:00
larryluozhang
0c2666c010 fix(learner): complete surface map for first-party learner screens + flip preset on restrictions assignment (#1222)
Rebased onto current main (v1.6.9 layout): _learning_surface_for_path now
lives in deeptutor/api/routers/auth.py; change content unchanged.

- map /api/mastery-paths/* to chat (learner's own per-user progress data)
- map GET/HEAD/OPTIONS /api/knowledge-bases* to reading (browse-only;
  mutations still default-deny)
- pass request.method into the surface lookup
- put_guardian_restrictions: when the account has no learning_policy yet,
  seed the default learner grant and flip the preset to learner, avoiding
  the standard-preset+policy mix that renders the admin shell and 403-storms
- regression tests: tests/multi_user/test_learning_surface_map.py (22 tests)
2026-09-22 00:57:28 +08:00
ZQR1101
436028e0ab fix(session): name the reply language in the compaction instruction
The rolling summary is replayed as a system row on every later turn, so the
language it happens to be written in keeps steering the answer long after the
turns it condensed have scrolled out. The summarizer meta-prompt never stated
a language, so a session held in a language other than the prompt's own came
back to en/zh at the first compaction — #1511's "drifts after a few rounds".

Both the English and Chinese meta-prompt now say which language the summary
body itself must use, via the same language_label() the reply directive uses.
2026-09-21 22:47:56 +08:00
ZQR1101
ae4bce956c fix(question): retry a starved quiz repair, and count it honestly
The quiz step asks for one JSON object out of a budget that reasoning
tokens also draw on, so a thinking model can spend the whole budget
thinking and leave nothing to parse. The repair round that exists to
rescue it is itself an LLM round and starves the same way, with nothing
after it left to ask again -- the learner got a "[Generation failed]"
placeholder, which is #1508's probabilistic missing question. Give that
round the retry _plan already has.

The envelope then hid the failure: `successful` counted
metadata["error"], a key the pipeline never writes, so an
all-placeholder quiz reported success=True / failed=0 to book blocks and
exam_mimic. Count `issues` instead -- it is recomputed after the repair
attempt, so what survives it is the question the learner actually got.
2026-09-21 21:29:38 +08:00
Bingxi Zhao (Frank)
9083d5fe3c fix(attachments): surface PDF processing stages (#1523) 2026-09-21 14:50:37 +08:00
Bingxi Zhao (Frank)
1fe74df0ed fix(notebook): decouple evidence from chat sessions (#1519) 2026-09-21 14:50:02 +08:00
Bingxi Zhao (Frank)
3800028fa8 merge: integrate LightRAG roles with embedding compatibility 2026-09-21 13:36:18 +08:00
Bingxi Zhao
9ea95ef0dd Merge pull request #1281 from NoxsMedia/codex/nox-35-standalone-embedding
fix: enforce native LightRAG embedding compatibility
2026-09-21 13:15:09 +08:00
Bingxi Zhao
9cba3bdfaf Merge pull request #1157 from NoxsMedia/fix/codex-luna-none-reasoning
fix(codex): expose Luna none reasoning effort
2026-09-21 13:14:39 +08:00
Bingxi Zhao (Frank)
f3dc7b0c3b fix(attachments): skip parser setup for non-PDF turns 2026-09-21 12:55:15 +08:00
Bingxi Zhao (Frank)
a84a191861 fix(learning): make qualitative evidence replay idempotent 2026-09-21 12:50:01 +08:00
Bingxi Zhao (Frank)
0fff9246c0 fix(mastery): bind repairs to exact question evidence 2026-09-21 12:45:43 +08:00
Bingxi Zhao (Frank)
d721d21d09 fix(attachments): retain native PDF fallback on parser failure 2026-09-21 12:45:43 +08:00
NoxsMedia
26a63c76bc fix(lightrag): withdraw failed rebuild publication and align provenance 2026-09-21 03:39:22 +00:00
NoxsMedia
18642ae3e9 fix(lightrag): publish embedding binding under write ownership 2026-09-21 03:21:44 +00:00
NoxsMedia
8d2c452ef5 fix: display the bound LightRAG version in index provenance 2026-09-21 03:10:48 +00:00
NoxsMedia
0ce3f5a713 fix: display the bound version alongside pinned LightRAG roles 2026-09-21 03:10:48 +00:00
NoxsMedia
1c8a29d257 fix: retain bound index provenance and embedding-only controls 2026-09-21 03:04:13 +00:00
NoxsMedia
77392102f2 fix: keep recovered LightRAG index policy and provenance aligned 2026-09-21 03:02:30 +00:00
NoxsMedia
ac8cc4a97d fix: preserve selected embeddings in confirmed LightRAG rebuilds 2026-09-21 02:57:39 +00:00
NoxsMedia
73e062c594 fix: preserve LightRAG compatibility with per-KB embedding bindings 2026-09-21 02:45:23 +00:00
Bingxi Zhao (Frank)
01da2757bd fix(learning): complete adaptive linked evidence flow 2026-09-21 10:35:22 +08:00
Bingxi Zhao (Frank)
4ca5f7ba3d fix(sandbox): preserve network isolation during fallback 2026-09-21 10:35:22 +08:00
Frank_zhu
7e55583107 fix(runtime): tolerate bwrap loopback denial on modern Linux (#1516)
On Ubuntu 24.04+, bwrap --unshare-all can abort with
"loopback: Failed RTM_NEWADDR: Operation not permitted". Health checks
only inspected ExecResult.error, which stays empty on that exit, so
BwrapBackend was treated as healthy and partner file generation failed.

Retry with --share-net to keep mount isolation, treat a non-zero probe
exit as unhealthy, and fall back to RestrictedSubprocessBackend when
sandbox_allow_subprocess is enabled.
2026-09-21 10:27:19 +08:00