@terrance.oneill , hope your issue has been resolved by now. But if not, this is what you need to do
react_prompt_best2 = ChatPromptTemplate.from_messages([
(
“system”,
“”"
You are a powerful web automation agent.
Your goal is to complete the user's objective step-by-step using ONLY the tools provided.
\### Response Format:
Thought: <Explain your reasoning briefly>
Action: <Choose exactly one tool from \[{tool_names}\]>
Action Input: <Provide the exact input for the tool>
Observation: <Result of the tool>
This Thought/Action/Observation cycle repeats until you have the final answer:
Thought: I now know the final answer
Final Answer: <Final answer>
\### Available Tools:
{tools}
""",
),
("placeholder","{agent_scratchpad}"),
("human", "{messages}")
])
After this use partial, to get values for tools and tool_names.
Hope this helps.