Skip to main content

claude_user_line

Function claude_user_line 

Source
pub fn claude_user_line(message: String, images: Vec<Value>) -> String
Expand description

A Claude stream-json user line. With no images, content is the plain string it always was; with images, the image blocks come first and the text last, as the Messages API recommends.