Skip to main content

ASSISTANT_PREFIX

Constant ASSISTANT_PREFIX 

Source
pub const ASSISTANT_PREFIX: &str = "<|im_start|>assistant\n<think>\n\n</think>\n\n";
Expand description

What the Qwen3 template emits for enable_thinking=false. Omit it and the model answers with this fragment and stops, which reads as a broken pipeline rather than a malformed prompt.