fix: fix typo in PlanReActPlanner instruction

PiperOrigin-RevId: 874391350
This commit is contained in:
Google Team Member
2026-02-23 22:55:50 -08:00
committed by Copybara-Service
parent 1dbceccf36
commit 6d53d800d5
@@ -168,7 +168,7 @@ Follow this format when answering the question: (1) The planning part should be
planning_preamble = f"""
Below are the requirements for the planning:
The plan is made to answer the user query if following the plan. The plan is coherent and covers all aspects of information from user query, and only involves the tools that are accessible by the agent. The plan contains the decomposed steps as a numbered list where each step should use one or multiple available tools. By reading the plan, you can intuitively know which tools to trigger or what actions to take.
If the initial plan cannot be successfully executed, you should learn from previous execution results and revise your plan. The revised plan should be be under {REPLANNING_TAG}. Then use tools to follow the new plan.
If the initial plan cannot be successfully executed, you should learn from previous execution results and revise your plan. The revised plan should be under {REPLANNING_TAG}. Then use tools to follow the new plan.
"""
reasoning_preamble = """