Skip to content

Process display elides an image's base64 payload - #489

Merged
rejojer merged 1 commit into
mainfrom
fix/process-display-image-payload
Sep 6, 2026
Merged

Process display elides an image's base64 payload#489
rejojer merged 1 commit into
mainfrom
fix/process-display-image-payload

Conversation

@rejojer

@rejojer rejojer commented Sep 6, 2026

Copy link
Copy Markdown
Member

The woven [tool_result] line of chat(stream=True) clipped the framework's image item to its first 200 characters, which is the head of a base64 data URL. The line now shows the item as it is with the payload elided:

[tool_result] get_document_image: {"type": "image", "image_url": "data:image/png;base64,..."}

Display only: the item the model receives, ChatStream tool_result events, and the items transcript are unchanged. Same commit as feat/multimodal-tool-results b5d28fb (review view #488).

https://claude.ai/code/session_01F8QMbFKngRT4TpBAKfuNVW

The woven [tool_result] line clipped the framework's image item to its
first 200 characters, which is the head of a data URL. The line now shows
the item as it is with the payload elided: {"type": "image", "image_url":
"data:image/png;base64,..."}. The item itself is unchanged.

Claude-Session: https://claude.ai/code/session_01F8QMbFKngRT4TpBAKfuNVW
@rejojer
rejojer merged commit ebf19b2 into main Sep 6, 2026
9 checks passed
@rejojer
rejojer deleted the fix/process-display-image-payload branch September 6, 2026 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant