2 Commits

Author SHA1 Message Date
RRFZ
d072a786fb fix(knowledge): name the clashing member when a zip upload is refused
safe_extract_zip refuses to replace a document the knowledge base
already holds, but _save_zip_archive let the FileExistsError escape, so
the upload failed with "Validation failed for file 'course.zip':
[Errno 17] File exists: '<absolute server path>/raw/chapter1.md'": an
OS error instead of a reason, and the server's directory layout handed
to the client.

Catch it next to the other archive rejections and say which member
clashes and what to do; still 400, the existing file still untouched.
2026-10-31 21:56:27 -04:00
Bingxi Zhao (Frank)
6c024857b7 release: v1.4.1 — security & stability patch
Security: lock down the TutorBot tool sandbox (shell exec is opt-in, all
filesystem/shell access confined to the bot workspace) and isolate per-user
resources, closing #518, #517, #516, #515, #514 and #506 (first hardened in
#507).

Bug fixes: chat input disabled after the first turn (#520), KB embedding
failure on long documents (#521 / #509), profile creation under Docker
(#512 / #513), Qwen reasoning models failing native tool calling (#527 / #528),
the GPT-5 init-wizard token parameter (#508), and oversized session-event
truncation (#524).

Features: HTTP/SSE API for multi-turn chat with a specific TutorBot (#511),
multimodal image fallback for vision-capable providers without a capability
entry, safe ZIP knowledge upload, and a /settings/network page with model
fetching (community PRs #522 and #523 reimplemented locally).

Also bumps __version__ to 1.4.1, adds the v1.4.1 release notes, updates the
README Releases section, and ships the Astro + Starlight docs site under site/.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 23:16:00 +08:00