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