
    3fi              	       >    d dl mZ 	 	 ddeeeef      dededefdZy)	    )AgentActionintermediate_stepsobservation_prefix
llm_prefixreturnc                 V    d}| D ]!  \  }}||j                   z  }|d| | d| z  }# |S )aN  Construct the scratchpad that lets the agent continue its thought process.

    Args:
        intermediate_steps: List of tuples of AgentAction and observation strings.
        observation_prefix: Prefix to append the observation with.
        llm_prefix: Prefix to append the llm call with.

    Returns:
        The scratchpad.
     
)log)r   r   r   thoughtsactionobservations         l/var/www/auto_recruiter/arenv/lib/python3.12/site-packages/langchain_classic/agents/format_scratchpad/log.pyformat_log_to_strr      sQ     H1 IFJJb+,[MJ<HHI O    N)zObservation: z	Thought: )langchain_core.agentsr   listtuplestrr    r   r   <module>r      sH    -
 .!U;#345  		r   