The progress_detail shape
While media_generate runs, its tool metadata carries two fields: progress, a short label that is always the current one, and progress_detail, an object. A field that is unknown is absent, never zero or a guess.
poster, the last preview, so a client can show a still while the file loads.
Reporting progress from an app: POST /pane-render/:requestID/progress
An app that renders a picture or video for the agent (the Allternit apps do this on the phone and in the browser) reports how far it has got to the Gizzi runtime. The body is a progress_detail object.
Send a report about once a second and whenever the stage changes. The runtime passes the newest report on to the chat, at most once a second, except that a stage change always goes through.
The tool_progress chat frame
A client reading the chat stream gets running progress as its own frame. allternit-api sends it while a tool call is running, once for each distinct progress_detail, and never after the call settles:
metadata into the running tool part of toolCallId. Today only media_generate sends it. A client that does not know the frame type ignores it, and a server older than this feature never sends it. See Response parts.
The error frame: code and reset_at
A failed turn ends the stream with an error frame. Two optional fields let a client say why and offer a way out:
Codes the apps recognise:
Any other error keeps the server’s words and offers Try again. A non-200 chat reply carries the same reason in its JSON body, so read the body rather than the HTTP status text. A server older than this feature sends the
error text only, with no code or reset_at.
The Gizzi terminal prints the reset time as “Resets at …” after the reason.
Related
Device-local browser images
Thebrowser-image request uses engine: "chatgpt-aci" and the exact prompt, with empty code and compatibility format html. A relayed request needs an executor claim before progress or result. Local person-plan image actions persist locally and do not require this relay. See Device-local ACI image jobs for claim ownership, private previews, image bounds and same-device execution.