fix: remove /think trigger from prompt, use plain assistant prefix

This commit is contained in:
Asep Haryana
2026-07-26 15:48:44 +07:00
parent d8425ea3b3
commit 7c8f747faf
+2 -2
View File
@@ -89,8 +89,8 @@ pub fn build_prompt(messages: &[ChatMessage], tools: &Option<Vec<ToolDef>>) -> S
} }
} }
// Generation prompt: thinking mode (MiniCPM5 native) // Generation prompt
prompt.push_str("<|im_start|>assistant\n/think\n\n"); prompt.push_str("<|im_start|>assistant\n");
prompt prompt
} }