summaryrefslogtreecommitdiffhomepage
path: root/packaging/[email protected]
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-06-27 20:40:19 +0900
committerAdam Malczewski <[email protected]>2026-06-27 20:40:19 +0900
commitb24ed99e89bc657e8c98c7cef8608e0c0b7594da (patch)
tree668051260825dd49fcdca33062be8d54d60d7bd6 /packaging/[email protected]
parent2e741d1c1ac309327aff4fed0e248bc5baa342d4 (diff)
downloaddispatch-b24ed99e89bc657e8c98c7cef8608e0c0b7594da.tar.gz
dispatch-b24ed99e89bc657e8c98c7cef8608e0c0b7594da.zip
feat(vision): prefix consultation tab titles with 'IMAGE - '
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).
Diffstat (limited to 'packaging/[email protected]')
0 files changed, 0 insertions, 0 deletions