Skip to main content

screenshot_text

Function screenshot_text 

Source
fn screenshot_text(
    result: &UiScreenshotResponse,
    in_container: bool,
    dir: &Path,
) -> Result<String>
Expand description

What UIScreenshot tells the agent. srv wrote the PNG on its own machine, so a container agent, which cannot read that path, gets its own copy in the container (from the bytes srv sent along) and is told that path instead: the one its file tools read and files on Tasks and Message can pass on.