mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: Thinking about process labels during simple application debugging does not take effect (#2971)
This commit is contained in:
parent
ee35cc21e9
commit
d960a18711
|
|
@ -148,10 +148,12 @@ class ModelSettingSerializer(serializers.Serializer):
|
||||||
error_messages=ErrMessage.char(_("Thinking process switch")))
|
error_messages=ErrMessage.char(_("Thinking process switch")))
|
||||||
reasoning_content_start = serializers.CharField(required=False, allow_null=True, default="<think>",
|
reasoning_content_start = serializers.CharField(required=False, allow_null=True, default="<think>",
|
||||||
allow_blank=True, max_length=256,
|
allow_blank=True, max_length=256,
|
||||||
|
trim_whitespace=False,
|
||||||
error_messages=ErrMessage.char(
|
error_messages=ErrMessage.char(
|
||||||
_("The thinking process begins to mark")))
|
_("The thinking process begins to mark")))
|
||||||
reasoning_content_end = serializers.CharField(required=False, allow_null=True, allow_blank=True, default="</think>",
|
reasoning_content_end = serializers.CharField(required=False, allow_null=True, allow_blank=True, default="</think>",
|
||||||
max_length=256,
|
max_length=256,
|
||||||
|
trim_whitespace=False,
|
||||||
error_messages=ErrMessage.char(_("End of thinking process marker")))
|
error_messages=ErrMessage.char(_("End of thinking process marker")))
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue