Scott Cogan commited on
Commit
82c778f
·
1 Parent(s): 49446cb

fix: update template to iterate over tools list directly

Browse files
Files changed (1) hide show
  1. prompts.yaml +2 -2
prompts.yaml CHANGED
@@ -21,7 +21,7 @@ prompt_templates:
21
  d. Use final_answer to submit your response
22
 
23
  Available tools:
24
- {%- for tool in tools.values() %}
25
  - {{ tool.name }}: {{ tool.description }}
26
  {%- endfor %}
27
 
@@ -89,7 +89,7 @@ prompt_templates:
89
  ```
90
 
91
  Available tools:
92
- {%- for tool in tools.values() %}
93
  - {{ tool.name }}: {{ tool.description }}
94
  {%- endfor %}
95
 
 
21
  d. Use final_answer to submit your response
22
 
23
  Available tools:
24
+ {%- for tool in tools %}
25
  - {{ tool.name }}: {{ tool.description }}
26
  {%- endfor %}
27
 
 
89
  ```
90
 
91
  Available tools:
92
+ {%- for tool in tools %}
93
  - {{ tool.name }}: {{ tool.description }}
94
  {%- endfor %}
95