]> git.giacomolli.uk - onechat/commit
Carry new images through model request chains
authorAnderson A. Giacomolli <redacted>
Tue, 10 Nov 2026 14:42:27 +0000 (11:42 -0300)
committerAnderson A. Giacomolli <redacted>
Tue, 10 Nov 2026 15:29:37 +0000 (12:29 -0300)
commit4343ca5fb6cc86eb887951f4fe16063bab29a238
treea109582c2a48922a04b09012b9c44228fd17c5c7
parent36229ef68a30c5a117599037d79fa1fc708fbfef
Carry new images through model request chains

Attach stored pixels to new user messages for the whole turn chain.
Later turns keep text markers and descriptions, which keeps the request
prefix stable. Leaf compaction sees pixels once per build and preserves
visible details. Single-message zoom returns text and image parts while
the durable log keeps only text.
19 files changed:
build_run_test.go
chain.go
compactor.go
compactor_test.go
daemon_agent.go
image_model.go [new file with mode: 0644]
image_model_test.go [new file with mode: 0644]
memory.go
model.go
probe.go
prompt.go
prompt_test.go
rebuild_test.go
subagent_run.go
tools.go
tree.go
turn.go
whatsapp_import.go
whatsapp_import_test.go