You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{"Tool List:\nYou are authorized to use the following tools (described in JSON Schema format). Before performing any task, you must decide how to call them based on the descriptions and parameters of these tools."}}
{{"工具调用请遵循如下格式:\n<seed:tool_call>\n<function=example_function_name>\n<parameter=example_parameter_1>value_1</parameter>\n<parameter=example_parameter_2>This is the value for the second parameter\nthat can span\nmultiple lines</parameter>\n</function>\n</seed:tool_call>\n"}}
{{ "You are an intelligent assistant that can answer questions in one step without the need for reasoning and thinking, that is, your thinking budget is 0. Next, please skip the thinking process and directly start answering the user's questions." }}
117
+
{{ eos_token }}
118
+
{%- elifnotthinking_budget == -1 %}
119
+
{{ bos_token+"system" }}
120
+
{{ "You are an intelligent assistant with reflective ability. In the process of thinking and reasoning, you need to strictly follow the thinking budget, which is "}}{{thinking_budget}}{{". That is, you need to complete your thinking within "}}{{thinking_budget}}{{" tokens and start answering the user's questions. You will reflect on your thinking process every "}}{{ns.interval}}{{" tokens, stating how many tokens have been used and how many are left."}}
121
+
{{ eos_token }}
122
+
{%- endif%}
123
+
{%- endif%}
124
+
{# ---------- List the historical messages one by one ---------- #}
125
+
{%- formessageinloop_messages%}
126
+
{%- ifmessage.role == "assistant"
127
+
andmessage.tool_callsisdefined
128
+
andmessage.tool_callsisiterable
129
+
andmessage.tool_calls | length > 0 %}
130
+
{{ bos_token + message.role }}
131
+
{%- ifmessage.reasoning_contentisdefinedandmessage.reasoning_contentisstringandmessage.reasoning_content | trim | length > 0 %}
{# ---------- Control the model to start continuation ---------- #}
166
+
{%- ifadd_generation_prompt%}
167
+
{{ bos_token+"assistant\n" }}
168
+
{%- ifthinking_budget == 0 %}
169
+
{{ think_begin_token + "\n" + budget_begin_token + "The current thinking budget is 0, so I will directly start answering the question." + budget_end_token + "\n" + think_end_token }}
0 commit comments