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