• Construct the scratchpad that lets the agent continue its thought process.

    Parameters

    • intermediateSteps: AgentStep[]
    • observationPrefix: string = "Observation: "
    • llmPrefix: string = "Thought: "

    Returns string

    a string with the formatted observations and agent logs