danielhanchen commited on
Commit
51e1eb4
·
verified ·
1 Parent(s): 36fc4be

Update chat_template.jinja

Browse files
Files changed (1) hide show
  1. chat_template.jinja +1 -1
chat_template.jinja CHANGED
@@ -205,7 +205,7 @@
205
  {%- set reasoning_effort = "medium" %}
206
  {%- endif %}
207
  {{- "Reasoning: " + reasoning_effort + "\n\n" }}
208
- {%- if builtin_tools %}
209
  {{- "# Tools\n\n" }}
210
  {%- set available_builtin_tools = namespace(browser=false, python=false) %}
211
  {%- for tool in builtin_tools %}
 
205
  {%- set reasoning_effort = "medium" %}
206
  {%- endif %}
207
  {{- "Reasoning: " + reasoning_effort + "\n\n" }}
208
+ {%- if builtin_tools is defined and builtin_tools is not none %}
209
  {{- "# Tools\n\n" }}
210
  {%- set available_builtin_tools = namespace(browser=false, python=false) %}
211
  {%- for tool in builtin_tools %}