File tree Expand file tree Collapse file tree 2 files changed +18
-3
lines changed
Expand file tree Collapse file tree 2 files changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -234,8 +234,15 @@ USER_PROMPT: |-
234234 {{task_description}}
235235
236236 ### 可用工具列表:
237+ {% if tool_description %}
237238 {{tool_description}}
238-
239+ {% else %}
240+ 你没有可用的工具
241+ {% endif %}
242+
239243 ### 可用助手列表:
244+ {% if assistant_description %}
240245 {{assistant_description}}
241-
246+ {% else %}
247+ 你没有可用的助手
248+ {% endif %}
Original file line number Diff line number Diff line change @@ -238,7 +238,15 @@ USER_PROMPT: |-
238238 {{task_description}}
239239
240240 ### Available Tools List:
241+ {% if tool_description %}
241242 {{tool_description}}
243+ {% else %}
244+ You have no available tools.
245+ {% endif %}
242246
243247 ### Available Assistants List:
244- {{assistant_description}}
248+ {% if assistant_description %}
249+ {{assistant_description}}
250+ {% else %}
251+ You have no available assistants
252+ {% endif %}
You can’t perform that action at this time.
0 commit comments