Commit Graph

457 Commits

Author SHA1 Message Date
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)
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
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
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
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
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
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
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)
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
d7a21735a8 test(lightrag): isolate optional package metadata in binding fixtures 2026-09-21 03:34:33 +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
4253023024 test: retain policy in synthetic bound-index append outcome 2026-09-21 03:08:04 +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)
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
Frank_zhu
6fbed6c28e fix(research): recover report labels on finished reply (#1514)
Keep the streaming 64-char probe strict, then re-read a finished report
reply so an unclosed/over-wide fence or a matching ## n. heading no
longer kills the turn. Raise report_section max_tokens to 12000 and
turn reasoning off for report prose so first attempts stop starving.
2026-09-21 10:27:09 +08:00
Bingxi Zhao (Frank)
622586f68e fix(turns): preserve retry state until request validation 2026-09-21 10:26:08 +08:00
Bingxi Zhao (Frank)
04a20ce2e3 fix(chat): route PDF attachments through configured parser 2026-09-21 10:25:07 +08:00
ZQR1101
182acb8ad7 fix(parsing): fall back to a text-capable engine when the global default can't take a file (#1502) 2026-09-21 10:25:07 +08:00
ZQR1101
c9d9c8a973 fix(turns): regenerate a turn with attachments without breaking TurnRequest validation (#1484) 2026-09-21 10:24:25 +08:00
Anthony
044c0e7598 feat(voice): verbalize LaTeX in TTS with a Math speak setting
Always strip dollar-sign math delimiters so the voice model never says dollar. When Math speak is on (default), also convert fractions, powers, Greek, and common operators into spoken words. Settings > Voice exposes the toggle; the server applies it on every /tts call.
2026-09-20 11:57:05 -07:00
Bingxi Zhao (Frank)
da856ad670 release: v1.6.9
Ship folder-based workspaces and data migration, daily practice, redesigned
provider and model settings, and streaming conversation improvements.
Synchronize README translations and document the archive/permanent-delete
upgrade behavior in assets/releases/ver1-6-9.md.

Reduce initial JavaScript by deduplicating English resources and loading
animation features after hydration. Keep the existing route size budgets.
Update regression fixtures and browser audits for scoped URLs and the new
settings and learning interfaces.
2026-09-21 02:30:40 +08:00
UnificAlly
d987908b85 Add Unifically LLM provider 2026-09-20 16:02:34 +04:00
Bingxi Zhao (Frank)
367195b7cf Merge remote-tracking branch 'origin/dev' into dev
# Conflicts:
#	deeptutor/api/routers/reading_extensions.py
#	tests/reading/test_extension_router.py
#	web/locales/en/app.json
#	web/locales/zh/app.json
2026-09-19 16:41:12 +08:00
Gao-Chenkai
3eb831d108 feat(learning): persist cross-surface Focus-Check in Question Bank
Route Mastery, Book, and Immersive Reading attempts through one review record so reading quizzes are server-graded, retryable, and show the learner's pick next to the reference answer.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-17 21:21:15 +08:00
Xinyong Guo
dcc692ed50 fix(llm): treat grok as a large-context family
Un-annotated grok-* model names fell back to a 16k window. The agentic
loop then snipped every tool result and the model re-called the same
tool until the round budget ran out.

Add "grok" to KNOWN_LARGE_CONTEXT_MARKERS so the family gets the 65k
default already used for claude/gemini/kimi. An explicit catalog window
still wins.
2026-09-17 11:24:28 +08:00
wumajiehechuan-lab
cf61846076 feat(rag): expose LightRAG llm_timeout so extraction LLM timeouts are tunable
- add llm_timeout (default 240, clamp 60-3600) to lightrag runtime settings
- pass it through constructor_kwargs_from_settings() as default_llm_timeout
- accept llm_timeout in the LightRAG pipeline config API
- update generated openapi/api.ts contracts
- extend settings + wiring tests
2026-09-16 18:34:57 -07:00
AoHanBei
e8842ff114 fix(llm): try every API key after rate limits 2026-09-16 22:15:06 +08:00
Wood
603f234ac1 fix(notebook): prevent path traversal via read/write path asymmetry
_get_notebook_file() previously joined the request-controlled notebook_id
onto the notebook base directory without validating the resolved path, and
_save_notebook() wrote using the file-content id field instead of the
caller's validated id. Together these allowed an arbitrary .json overwrite
(e.g. data/system/auth/users.json) leading to privilege escalation.

- _get_notebook_file(): resolve the target and reject any path that escapes
  base_dir (Path.is_relative_to), raising ValueError.
- _save_notebook(): accept the validated notebook_id explicitly instead of
  trusting notebook['id']; all call sites updated to pass it.
2026-09-16 11:10:53 +08:00
Bingxi Zhao (Frank)
c547a5a31c fix: resolve verified learning, ingestion and delivery regressions
Bind mastery drafts before their opening turn and preserve stored session modes.
Track chat duration from submission through terminal completion. Run async reading
extensions on their event loop and allow retries after cancellable timeouts.
Allow first uploads into empty LlamaIndex knowledge bases, preserve Telegram
thread routing, parse embedding Retry-After dates, and enforce robots rules and
host pacing during documentation crawls, including redirects.

Fixes #1461
Fixes #1458
Fixes #1451
Fixes #1448
Fixes #1392
Fixes #1429
Refs #1435, #1412

Reuses contributions from PRs #1462, #1452 and #1403.

Co-authored-by: sjagadee <srini.jagadeesh@gmail.com>
Co-authored-by: AoHanBei <dongaohan21@gmail.com>
Co-authored-by: Gao-Chenkai <DevChenkai@outlook.com>
2026-09-15 20:06:57 +08:00
wumajiehechuan-lab
c131733b22 chore(deps): install qrcode with the core package
Partner QR onboarding (WeChat, WeCom, Feishu) renders its code server-side,
so `qrcode` is the only thing between an operator and a scannable code. It was
reachable only through the `partners` extra, which means the documented first
step — `pip install -e .` — produces a Channels page whose "Scan to connect"
button silently yields nothing: `render_qr_svg` swallows the ImportError and
returns an empty string, and `_qr_data_url` returns None. Neither the UI nor
the logs say a word, so the failure reads as a broken feature rather than a
missing extra.

The package is pure Python, holds no compiled or system dependencies, and every
scan-based channel needs it, so it belongs in the core set — the same call
already made for `mcp` in issue #792.

- pyproject.toml: move `qrcode` from the `partners` extra into core
- requirements/cli.txt: mirror it, since that file images the core deps
- requirements/partners.txt: drop it; it now arrives via `-r server.txt`
- tests: reword the degradation test, which now guards trimmed deployments
  rather than the default install

The lazy-import fallback itself is kept on purpose: a build assembled without
the full requirement set must still serve a usable page carrying the raw scan
payload.
2026-09-15 01:08:23 -07:00
Bingxi Zhao (Frank)
42d793839b Merge branch 'dev' into worktree-chat-engine-interleaved 2026-09-15 13:25:06 +08:00
NoxsMedia
e742628e77 chore: sync PR #1157 with current dev 2026-09-14 11:51:33 +00:00