Commit Graph

551 Commits

Author SHA1 Message Date
Bingxi Zhao (Frank)
0f4e4ae8a6 fix(lightrag): reuse only content-bound indexing cache (#1577) 2026-09-27 04:47:19 +08:00
Bingxi Zhao (Frank)
e0a71c42aa fix(lightrag): run shared storage jobs on one process loop (#1578) 2026-09-27 04:47:19 +08:00
Bingxi Zhao (Frank)
d431b00369 fix(embedding): support keyless Lemonade profiles (#1568) 2026-09-27 04:47:19 +08:00
Bingxi Zhao (Frank)
810487f814 fix(rag): reject IMA title-only matches without readable text (#1500) 2026-09-27 04:47:19 +08:00
Bingxi Zhao (Frank)
550268e1e3 fix: support Malay as a persistent reply language 2026-09-27 04:37:15 +08:00
Bingxi Zhao
61b1fdd8bb Merge pull request #1564 from wumajiehechuan-lab/fix/dashscope-media-endpoints
fix(media): use the real DashScope image/video submit endpoints
2026-09-27 03:22:12 +08:00
Bingxi Zhao
06a5a8443b Merge pull request #1563 from wumajiehechuan-lab/fix/dashscope-stt-realtime-model
fix(voice): use realtime DashScope STT model ids
2026-09-27 03:22:03 +08:00
Bingxi Zhao
b333e0262b Merge pull request #1601 from wumajiehechuan-lab/fix/exec-python-utf8
fix: request UTF-8 mode for model-authored exec code
2026-09-27 03:21:07 +08:00
Bingxi Zhao (Frank)
bc6d73de10 fix(media): reject unsupported Wan 2.2 video size 2026-09-27 03:20:17 +08:00
Bingxi Zhao (Frank)
abae417fe6 fix(voice): migrate linked DashScope STT model by effective provider 2026-09-27 03:19:39 +08:00
Bingxi Zhao (Frank)
e166fad255 fix(voice): migrate saved DashScope batch STT model 2026-09-27 03:01:15 +08:00
Bingxi Zhao (Frank)
7adef0b607 fix(voice): hide unsupported DashScope 8k STT option 2026-09-27 02:58:17 +08:00
Bingxi Zhao (Frank)
a2e487dfcf fix(media): send valid DashScope video sizes 2026-09-27 02:56:36 +08:00
Bingxi Zhao
2902e09699 Merge pull request #1592 from dxhome/preserve-generated-partner-attachments
fix: preserve generated Partner attachments
2026-09-27 02:39:07 +08:00
Bingxi Zhao
6610e6ef1e Merge pull request #1590 from FriedorixNietzsche/fix/mineru-modelscope-cache-readiness
fix: detect MinerU models in ModelScope cache layout
2026-09-27 02:38:36 +08:00
Bingxi Zhao
8dca174970 Merge pull request #1506 from remedywilliams/fix/task-model-config-test
fix: add missing task model branch to config test runner
2026-09-27 02:38:05 +08:00
Bingxi Zhao
a97b550458 Merge pull request #1589 from FriedorixNietzsche/fix/task-reference-readiness
fix: recognize referenced task model in readiness
2026-09-27 02:37:35 +08:00
Bingxi Zhao
8d403b9ebb Merge pull request #1571 from aiapienthusiast/feature/cheaper-inference-provider
feat: add Cheaper Inference as an LLM provider
2026-09-27 02:36:55 +08:00
Bingxi Zhao
f9bcc47f54 Merge pull request #1588 from remote-controlled-man/codex/deeptutor-1579-gemini-models-prefix
fix(llm): match Gemini ids carrying the models/ resource prefix
2026-09-27 02:36:32 +08:00
Bingxi Zhao
79510cbd51 Merge pull request #1591 from FriedorixNietzsche/fix/windows-data-volume-permissions
fix: support Windows data volume permission checks
2026-09-27 02:36:06 +08:00
Bingxi Zhao (Frank)
2918f3cf49 fix(config): probe the selected task model without losing provider settings 2026-09-27 02:27:41 +08:00
Bingxi Zhao (Frank)
d11ea96d99 fix: validate task model references in readiness 2026-09-27 02:25:33 +08:00
Bingxi Zhao (Frank)
c129e9a0c5 fix: verify MinerU repository names in ModelScope cache 2026-09-27 02:23:10 +08:00
wumajiehechuan-lab
a4c85477b5 fix: request UTF-8 mode for model-authored exec code
`prepare_workspace_execution_env()` sets LANG / PYTHONUNBUFFERED /
PYTHONDONTWRITEBYTECODE but never PYTHONUTF8, and the restricted subprocess
backend deliberately inherits only a fixed subset of host variables. On a
Windows host whose ANSI code page is not UTF-8 (cp936, cp1252, …) the model's
Python therefore ran with `locale.getpreferredencoding() == 'cp936'`.

Two symptoms follow, and they hit any skill or tool script that touches
non-ASCII text:

* a bare `Path.read_text()` / `open()` on a UTF-8 file raises
  `UnicodeDecodeError: 'gbk' codec can't decode byte 0x8d in position 146`
  (or silently mojibakes the content);
* `print()` of a non-ASCII value reaches the caller as GBK bytes, which the
  turn reads back as garbage.

Reproduced end to end with a workspace skill whose build script reads a UTF-8
HTML template: under the exec environment it failed on every invocation, while
the same script succeeded in an ordinary shell on the same host — the classic
environment-dependent failure that is hardest for a user to diagnose. Measured
in the exec environment (same interpreter): `PYTHONUTF8` unset →
`stdout=gbk files=cp936`; set → `stdout=utf-8 files=utf-8`.

One variable fixes both halves, because UTF-8 mode covers file I/O and stdio
together. It is a no-op where UTF-8 is already the locale default, so Linux and
macOS containers behave exactly as before.
2026-09-26 01:44:26 -07:00
XuanDu
a988f88778 fix: preserve generated partner attachments 2026-09-25 19:35:32 +08:00
FriedorixNietzsche
80da6cee23 fix: support Windows data volume permission checks 2026-09-25 18:24:37 +08:00
FriedorixNietzsche
fff69b43be fix: detect MinerU models in ModelScope cache layout 2026-09-25 13:41:59 +08:00
FriedorixNietzsche
cf5d112534 fix: recognize referenced task model in readiness 2026-09-25 13:21:51 +08:00
Steven Huang
e82b2dfaab fix(llm): match Gemini ids carrying the models/ resource prefix
Google's model list returns resource names such as
"models/gemini-2.5-flash", but every MODEL_OVERRIDES key is a bare id and
_static_capability() matched with startswith(), so the "gemini" rule never
fired for a catalog-supplied id. Resolution fell through to the binding
default, and for OpenAI-compatible bindings that default is no vision, so a
model card left on Vision: Auto reported the model as text-only and dropped
it from LightRAG's VLM selection. Declaring Vision explicitly hid the
problem, which is why it looked like a UI restriction.

Normalize the same prefix the embedding layer already strips
(services/config/embedding_endpoint.py and
services/embedding/adapters/gemini.py) before matching, so both spellings
resolve identically. User-declared catalog overrides are untouched: they are
keyed by the exact id the user typed.

Closes #1579
2026-09-25 01:00:25 +08:00
krxi
2eb2f2de96 feat: add a workspace-scoped task board 2026-09-24 16:10:03 +03:00
Bingxi Zhao (Frank)
a053fecf6e release: v1.6.11
The interface ships in French and Ukrainian alongside English and
Chinese, and /language pins a reply language for one conversation.
Immersive reading organizes collections as colored folders, adds a
fullscreen learning mode, and turns Explain / Translate / Guide me on a
selection into ordinary messages in the reading chat; "Quiz me on this
page" runs one quiz turn without changing the conversation's mode, which
retires the reading-openers endpoint and its task model. Images embedded
in DOCX, PPTX and PDF are extracted in place and reach vision models.

Office files preview as paged PDFs through LibreOffice (now in the Docker
image), falling back to the in-browser renderers without it. Web sources
re-sync on a durable schedule, linked folders sync on demand, .bib files
index, and a zotero_search tool queries Zotero. Settings gains Learning
progress and credential-free presets; admins import users from CSV;
split deployments can hand a session to a public device. Grok CLI joins
the subagents, Unifically the providers, ChatGPT exports the importers.

Gate cleanup: mypy/bandit findings in the new launcher, audio-overview,
web-source, reading-store and textbook modules; the task-model copy test
follows the retired reading_openers kind.

See assets/releases/ver1-6-11.md for the full notes, and the README
Releases row plus its eleven translations.
2026-09-24 09:59:56 +08:00
aiapienthusiast
1b62305aa7 feat: add Cheaper Inference as an LLM provider 2026-09-23 19:16:53 +04:00
aiapienthusiast
eb3447c3f9 Add tests for cheaperinference LLM binding 2026-09-23 19:16:01 +04:00
wumajiehechuan-lab
e9655d579a fix(media): use the real DashScope image/video submit endpoints
Both native DashScope media adapters post to a path that is missing its last
segment, so every generate request falls through to a generic async route and
is rejected before the model ever runs:

    400 InvalidParameter: task can not be null

- image: `services/aigc/image-synthesis` -> `services/aigc/text2image/image-synthesis`
- video: `services/aigc/video-generation` -> `services/aigc/video-generation/video-synthesis`

Verified against the live endpoint with the real adapters: the old paths answer
`task can not be null`, the new ones return a `task_id` (the image task was
polled to SUCCEEDED and produced a result URL; the video probe task failed on an
intentionally invalid `size`, so no render was charged).

Update the two URL assertions in `tests/services/test_media_gen.py` accordingly.

Note: `wan2.6-t2i` uses a different route
(`services/aigc/image-generation/generation`) *and* a `messages` body, so it is
out of scope here.
2026-09-22 23:02:31 -07:00
Bingxi Zhao (Frank)
0558356d14 Add opt-in cross-browser Partner conversation continuity 2026-09-23 13:34:08 +08:00
Bingxi Zhao (Frank)
f363e5f119 fix(chat): persist explicit reply language per conversation 2026-09-23 13:07:39 +08:00
Bingxi Zhao (Frank)
8b0ae3891f fix(feishu): keep model picker selectable and avoid callback deadlock 2026-09-23 12:44:11 +08:00
Bingxi Zhao (Frank)
44a76ed0a9 feat(partners): add provider-first Feishu model picker 2026-09-23 12:37:45 +08:00
Bingxi Zhao (Frank)
13d3e0a683 test(feishu): cover older WebSocket constructor signature 2026-09-23 12:22:06 +08:00
wumajiehechuan-lab
cdc36c31d3 fix(voice): use realtime DashScope STT model ids
The native DashScope STT adapter talks to the Paraformer real-time WebSocket
endpoint (`/api-ws/v1/inference`, `task_group=audio`, `function=recognition`),
which only accepts `paraformer-realtime-*` model ids. `paraformer-v2` is a
batch-transcription id, so the pre-filled default made every DashScope STT test
fail the handshake:

    [failed] DashScope STT failed to start: Model not found (paraformer-v2)!

Point the provider default and the curated voice options at
`paraformer-realtime-v2` (and offer the 8 kHz variant), and update the tests
that pinned the old id.

Verified against the live endpoint with the real adapter: `paraformer-v2`
answers `task-failed/ModelNotFound`, `paraformer-realtime-v2` answers
`task-started` and returns a transcript.
2026-09-22 21:21:22 -07:00
Bingxi Zhao (Frank)
0843e7d518 fix(feishu): dispatch card actions on supported WebSocket SDKs 2026-09-23 12:18:43 +08:00
Bingxi Zhao (Frank)
f14e8e065d feat(feishu): deliver threaded replies and private model picker (#1517) 2026-09-23 12:08:17 +08:00
Bingxi Zhao (Frank)
55490af65e Merge issue fixes into PR synthesis
Combine knowledge bootstrap coverage and preserve later progress-isolation tests, native notebook tooltip, and locale-aware tool-hint fallback. Regenerate frontend contracts and align test fixtures with merged APIs.
2026-09-23 12:06:19 +08:00
Bingxi Zhao (Frank)
8880529c65 Merge PR batch with local follow-up fixes
Preserve precise learner KB route guards, combine UI and response language domains, carry normalized EPUB extraction, and regenerate frontend contracts.

Update locale fallback coverage for the completed Ukrainian translation bundle.
2026-09-23 12:01:14 +08:00
Bingxi Zhao (Frank)
adf8c4d8cf fix(chat): preserve prior answer when regenerate admission fails 2026-09-23 11:30:24 +08:00
Bingxi Zhao (Frank)
55e96e429e style: satisfy repository lint and format gates 2026-09-23 11:28:41 +08:00
Bingxi Zhao (Frank)
0ec3c1644f fix(session): keep current preferences when resending saved turn 2026-09-23 11:22:34 +08:00
Bingxi Zhao (Frank)
b3949a919a fix(knowledge): isolate reindex progress across workers (#1478)
(cherry picked from commit 3ae386ac08)
2026-09-23 11:16:39 +08:00
Bingxi Zhao (Frank)
3ae386ac08 fix(knowledge): isolate reindex progress across workers (#1478) 2026-09-23 11:14:18 +08:00
Bingxi Zhao (Frank)
5868e8acfa fix(session): replay saved request on failed turn resend 2026-09-23 11:06:35 +08:00