fix: Thinking about process labels during simple application debugging does not take effect (#2971)

This commit is contained in:
shaohuzhang1 2025-04-24 13:11:28 +08:00 committed by GitHub
parent ee35cc21e9
commit d960a18711
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -148,10 +148,12 @@ class ModelSettingSerializer(serializers.Serializer):
error_messages=ErrMessage.char(_("Thinking process switch")))
reasoning_content_start = serializers.CharField(required=False, allow_null=True, default="<think>",
allow_blank=True, max_length=256,
trim_whitespace=False,
error_messages=ErrMessage.char(
_("The thinking process begins to mark")))
reasoning_content_end = serializers.CharField(required=False, allow_null=True, allow_blank=True, default="</think>",
max_length=256,
trim_whitespace=False,
error_messages=ErrMessage.char(_("End of thinking process marker")))