format_log_to_messages(
intermediate_steps: list[tuple[AgentAction, str]],
template_tool_response: str | Name | Type | Description |
|---|---|---|
intermediate_steps* | list[tuple[AgentAction, str]] | |
template_tool_response | str | Default: '{observation}' |
Construct the scratchpad that lets the agent continue its thought process.
List of tuples of AgentAction and observation strings.
Template to format the observation with.
Defaults to "{observation}".