fix: remove /think trigger from prompt, use plain assistant prefix
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user