Artifact be99a925960b011cee7b5dbea199eb978fb559421c2fbc704babe759c8225682:
- File
test/pic/image-streams/chat_read_png.sse
— part of check-in
[c55dfbb163]
at
2026-11-19 23:39:49
on branch images
— Images, as Pi's
User messages, steering and follow-ups, and tool results can carry images. Journal version 9 keeps their bytes in SQLite (pic_image, deduplicated by SHA3-256, deflated only when smaller) linked by pic_attachment, written in the same transaction as the entry; pic check covers them. Each adapter sends its native shape (Anthropic base64 blocks, Chat image_url data URLs, Responses input_image); a model whose catalog input lacks images gets Pi's placeholders. pic ask --image PATH, the RPC images field and the read tool on image files add them; the Pi and HTML exports include them. (user: dmestas, size: 328) [annotate] [blame] [check-ins using] [more...]
data: {"id":"c3","choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"call_r","type":"function","function":{"name":"read","arguments":"{\"path\":\"dot.png\"}"}}]},"finish_reason":null}]} data: {"id":"c3","choices":[{"index":0,"delta":{},"finish_reason":"tool_calls"}]} data: [DONE]