Expand description
agents queue read id — fetch one piece of queued content by
its prompt_contents.id.
agents queue list emits a content: ResponseContent field on
each item (One(i64) or Many(Vec<i64>)) — the same shape
RichContent decomposes to. This leaf takes one such id and
returns the typed payload directly as a
crate::agent::completions::message::RichContentPart, so the
wire form for queue content is bit-identical to a rich-content
part of the same kind. No fork between queue media and message
media at the type level.
Modules§
Structs§
Enums§
Functions§
Type Aliases§
- Response
- The typed payload of one
prompt_contents.id. Aliased directly to the SDKRichContentPartso the wire shape matches rich-content parts exactly — tagged bytypewithtext,image_url,input_audio,input_video,video_url, orfile. Queue content production today never emits theinput_videovariant (the walker stores bothInputVideoandVideoUrlparts asprompt_videosrows reading back asvideo_url), but the type stays unconstrained for forward compatibility.