summaryrefslogtreecommitdiffhomepage
path: root/packages/vision-handoff
AgeCommit message (Collapse)Author
2026-06-28fix(vision): tell vision agents not to use tools, just describe images directlyAdam Malczewski
Kimi was trying to use Python tools to analyze images rather than just describing them. Updated both vision system prompts (consult_vision and image compaction) to explicitly instruct: do not use any tools unless specifically asked to — just use your vision to see the image and describe it directly.
2026-06-27feat(vision): prefix consultation tab titles with 'IMAGE - 'Adam Malczewski
When a non-vision model (e.g. GLM) calls consult_vision, the new Kimi consultation tab now shows 'IMAGE - <question>' instead of the bare question-derived title, making image-consultation tabs visually distinguishable from normal conversation tabs. - Add formatConsultationTitle(question) pure helper (pure.ts): prefixes 'IMAGE - ' and truncates the question to 80 chars (matching the conversation store's TITLE_MAX) with an ellipsis. - Add setConversationTitle dep to VisionHandoffDeps, wired in the extension to the conversation store's setConversationTitle. - Call it in consultVision BEFORE the turn starts so the title is correct from the first moment (the store keeps a non-'Untitled' title on first message append). Best-effort: a title-write failure logs a warning but does not break the consultation. - Tests: 4 pure + 2 service (title set + optional-dep graceful).
2026-06-27feat(vision): store images in tmp dir instead of SQLite — compact URLs + ↵Adam Malczewski
purge on compaction/close
2026-06-27feat(vision): image compaction for vision-capable models + global vision ↵Adam Malczewski
settings
2026-06-27fix(vision): detect umans kimi + qwen models as vision-capable (not just kimi)Adam Malczewski
2026-06-27feat(vision-handoff): model-directed consult_vision tool replacing ↵Adam Malczewski
auto-transcription
2026-06-27fix(vision-handoff): omit temperature on vision transcription call (Kimi ↵Adam Malczewski
rejects temperature: 0) The vision handoff hardcoded temperature: 0 for the transcription sub-call, but the Moonshot/Kimi vision model only allows temperature: 1 (or omitted), causing an HTTP 400 "invalid temperature: only 1 is allowed for this model" that blocked the entire image analysis for non-vision models like GLM 5.2. Fix: omit temperature entirely so each vision provider uses its own default — the truly universal, provider-agnostic approach (different providers have different temperature constraints).
2026-06-27feat(vision-handoff): implement vision for capable models and universal ↵Adam Malczewski
vision handoff