10 Commits

Author SHA1 Message Date
Bingxi Zhao (Frank)
3658dd6854 Merge PR #2633: fix(chat): label reinjected prior-turn images as historical 2026-11-14 22:52:56 +08:00
evan188199-tech
7d2989e250 fix(chat): label reinjected prior-turn images as historical
Images re-injected via chat_prior_image_reinject_max landed in the
current user message with no origin marker, so the model treated them
as fresh uploads of that message even when it was text-only. Mark the
collected prior images historical with their source message id and
insert a brief origin note before such images during multimodal
assembly; current-turn uploads keep their existing behavior.

Fixes #2632

Signed-off-by: evan188199-tech <238371241+evan188199-tech@users.noreply.github.com>
2026-11-12 06:14:40 +08:00
yxh123739
39f42490c3 fix: recognize DeepSeek-V4.1-Flash vision support
DeepSeek-V4.1-Flash is natively multimodal, but every `deepseek-*` id
matched the broad `deepseek` override and resolved to
`supports_vision: False`. Mastery Path then refused to open source pages
with "The active model cannot inspect original pages", and the
multimodal layer stripped images before the request was sent — the model
was never asked.

Add narrow, vision-only overrides for the ids this model ships under,
including the namespaced spellings gateways publish, following the
existing Qwen-VL convention of listing both forms. Other DeepSeek text
models stay fail-closed, and the broader `deepseek` entry keeps
supplying response-format and thinking-tag handling.
2026-11-10 14:47:33 +08:00
Rudy Celekli
f67f71b8e8 fix(llm): use the resolved attachment MIME for store-URL images
_inject_images guessed the MIME up front from the attachment filename,
which always yields a non-empty value (image/png default), so the later
'mime = mime or resolved_mime' never used the type resolved from the stored
attachment. A JPEG referenced by store URL with no mime_type/filename was
sent as image/png and rejected by strict providers. Keep only an explicit
mime_type up front and apply the filename guess last, after the resolver.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-11-02 00:59:54 -05:00
Bingxi Zhao (Frank)
fc39543bc0 feat: integrate frontend backend and canonical routes 2026-09-01 22:24:29 +08:00
NoxsMedia
cc78ca1a83 fix(llm): mark OpenAI Codex as vision capable (#821)
Declare the Codex Responses provider as image-capable so multimodal calls do not silently degrade to text and RAG image indexing can use it. Cover capability resolution, fallback behavior, and input_image conversion.
2026-08-12 16:51:51 +08:00
Kevin Xia
115a78ae1b fix: recognize Qwen3.8-Max vision support 2026-08-06 19:25:17 +08: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
Bingxi Zhao (Frank)
824bf778df fix: lint & logging system 2026-05-01 01:39:08 +08:00
Bingxi Zhao (Frank)
7fce54d98a chore: prepare v1.3.0 release
Made-with: Cursor
2026-04-27 21:09:25 +08:00