askui.reporting.CompositeReporter
add_message(), generate()) in the order they are ordered in the reporters list.
Arguments:
reporterslist[Reporter] | None, optional - List of reporters to combine
add_message
generate
askui.reporting.Reporter
askui.VisionAgent.
add_message
rolestr - The role of the message sender (e.g.,"User","Assistant","System")contentstr | dict | list - The message content, which can be a string, dictionary, or list, e.g.'click 2x times on text "Edit"'imagePIL.Image.Image | list[PIL.Image.Image], optional - PIL Image or list of PIL Images to include with the message
generate
add_message(), but must be generated at the end of the execution.
This method is called when the askui.VisionAgent context is exited or askui.VisionAgent.close() is called.
askui.reporting.SimpleHtmlReporter
report_dirstr, optional - Directory where reports will be saved. Defaults toreports.
add_message
generate
report_dir containing:
- System information
- All collected messages with their content and images
- Syntax-highlighted JSON content