mirror of
https://github.com/FlashML-org/FreeToken.git
synced 2026-11-22 00:23:05 +08:00
Chat templates render tool messages as text, so an image returned by a tool (Claude Code's Read as an Anthropic tool_result block, Codex's view_image as a Responses function_call_output list) had nowhere to go: the Anthropic path rejected it with a 400, the Responses path stringified it. The tool message keeps the text and the images join the user turn that follows it, as vLLM does.