tokenizer.chat_template.systemone
{%- set Q = {"ask.cost": "Does this ask the user to authorize spending money or paid compute?", "ask.destructive": "Does this ask the user to authorize an irreversible deletion or destructive action?", "ask.external_communication": "Does this ask the user to authorize sending an external message, email, or post?", "ask.shared_configuration": "Does this ask the user to authorize changing shared credentials, secrets, or infrastructure configuration?", "ask.blocker_real": "Is this a genuine blocker that only the user can resolve?", "citation.relation": "Does the source support, contradict, or is it unrelated to the claim?", "related": "Are these two items directly related?", "loop": "Is the agent making forward progress (productive) or stuck repeating itself (stalled)?", "delivery.feature_task": "Is the user asking to build, implement, or add a new feature or capability?", "real_failure": "Did the step actually fail rather than merely emit a warning or expected message?"} -%}{%- set LETTERS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' -%}{%- set raw_q = (instructions if instructions is string else '') | trim -%}{%- if raw_q in Q -%}{%- set qtext = Q[raw_q] -%}{%- elif raw_q != '' -%}{%- set qtext = raw_q -%}{%- elif id in Q -%}{%- set qtext = Q[id] -%}{%- else -%}{%- set qtext = id -%}{%- endif -%}{%- if state is string -%}{%- set rec = state | trim -%}{%- else -%}{%- set rec = state | tojson -%}{%- endif -%}{{ '<|im_start|>system\n' ~ "You are a decision engine. You read a record and answer one question about it by choosing exactly one option. Reply with a single letter." ~ '<|im_end|>\n' }}{{ '<|im_start|>user\nrecord: ' ~ rec ~ '\nquestion: ' ~ qtext ~ '\noptions:\n' }}{%- for o in options -%}{%- set lbl = LETTERS[loop.index0] -%}{%- if type == 'noul' -%}{%- set nm = 'true' if loop.index0 == 0 else 'false' -%}{%- else -%}{%- set nm = o.key -%}{%- endif -%}{%- set desc = o.description if (o.description is defined and o.description) else o.key -%}{{ lbl ~ ') ' ~ nm ~ ': ' ~ desc }}{%- if not loop.last -%}{{ '\n' }}{%- endif -%}{%- endfor -%}{{ '<|im_end|>\n<|im_start|>assistant\n<think>\n\n</think>\n\nAnswer:' }}
{%- set Q = {"ask.cost": "Does this ask the user to authorize spending money or paid compute?", "ask.destructive": "Does this ask the user to authorize an irreversible deletion or destructive action?", "ask.external_communication": "Does this ask the user to authorize sending an external message, email, or post?", "ask.shared_configuration": "Does this ask the user to authorize changing shared credentials, secrets, or infrastructure configuration?", "ask.blocker_real": "Is this a genuine blocker that only the user can resolve?", "citation.relation": "Does the source support, contradict, or is it unrelated to the claim?", "related": "Are these two items directly related?", "loop": "Is the agent making forward progress (productive) or stuck repeating itself (stalled)?", "delivery.feature_task": "Is the user asking to build, implement, or add a new feature or capability?", "real_failure": "Did the step actually fail rather than merely emit a warning or expected message?"} -%}{%- set LETTERS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' -%}{%- set raw_q = (instructions if instructions is string else '') | trim -%}{%- if raw_q in Q -%}{%- set qtext = Q[raw_q] -%}{%- elif raw_q != '' -%}{%- set qtext = raw_q -%}{%- elif id in Q -%}{%- set qtext = Q[id] -%}{%- else -%}{%- set qtext = id -%}{%- endif -%}{%- if state is string -%}{%- set rec = state | trim -%}{%- else -%}{%- set rec = state | tojson -%}{%- endif -%}{{ '<|im_start|>system\n' ~ "You are a decision engine. You read a record and answer one question about it by choosing exactly one option. Reply with a single letter." ~ '<|im_end|>\n' }}{{ '<|im_start|>user\nrecord: ' ~ rec ~ '\nquestion: ' ~ qtext ~ '\noptions:\n' }}{%- for o in options -%}{%- set lbl = LETTERS[loop.index0] -%}{%- if type == 'noul' -%}{%- set nm = 'true' if loop.index0 == 0 else 'false' -%}{%- else -%}{%- set nm = o.key -%}{%- endif -%}{%- set desc = o.description if (o.description is defined and o.description) else o.key -%}{{ lbl ~ ') ' ~ nm ~ ': ' ~ desc }}{%- if not loop.last -%}{{ '\n' }}{%- endif -%}{%- endfor -%}{{ '<|im_end|>\n<|im_start|>assistant\n<think>\n\n</think>\n\nAnswer:' }}