format_xml(
intermediate_steps: list[tuple[AgentAction, str]],
*,
escape_format: Literal| Name | Type | Description |
|---|---|---|
intermediate_steps* | list[tuple[AgentAction, str]] | |
escape_format | Literal['minimal'] | None | Default: 'minimal' |
Format the intermediate steps as XML.
The intermediate steps.
The escaping format to use. Currently only 'minimal' is supported, which replaces XML tags with custom delimiters to prevent conflicts.