mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
This commit is contained in:
parent
ae30052dae
commit
01075166b8
|
|
@ -302,7 +302,19 @@ class ApplicationApi(ApiMixin):
|
|||
'no_references_prompt': openapi.Schema(type=openapi.TYPE_STRING,
|
||||
title=_("No citation segmentation prompt"),
|
||||
default="{question}",
|
||||
description=_("No citation segmentation prompt"))
|
||||
description=_("No citation segmentation prompt")),
|
||||
'reasoning_content_enable': openapi.Schema(type=openapi.TYPE_BOOLEAN,
|
||||
title=_("Reasoning enable"),
|
||||
default=False,
|
||||
description=_("Reasoning enable")),
|
||||
'reasoning_content_end': openapi.Schema(type=openapi.TYPE_STRING,
|
||||
title=_("Reasoning end tag"),
|
||||
default="</think>",
|
||||
description=_("Reasoning end tag")),
|
||||
"reasoning_content_start": openapi.Schema(type=openapi.TYPE_STRING,
|
||||
title=_("Reasoning start tag"),
|
||||
default="<think>",
|
||||
description=_("Reasoning start tag"))
|
||||
|
||||
}
|
||||
)
|
||||
|
|
|
|||
|
|
@ -7499,4 +7499,13 @@ msgid "Captcha code error or expiration"
|
|||
msgstr ""
|
||||
|
||||
msgid "captcha"
|
||||
msgstr ""
|
||||
|
||||
msgid "Reasoning enable"
|
||||
msgstr ""
|
||||
|
||||
msgid "Reasoning start tag"
|
||||
msgstr ""
|
||||
|
||||
msgid "Reasoning end tag"
|
||||
msgstr ""
|
||||
|
|
@ -7662,4 +7662,13 @@ msgid "Captcha code error or expiration"
|
|||
msgstr "验证码错误或过期"
|
||||
|
||||
msgid "captcha"
|
||||
msgstr "验证码"
|
||||
msgstr "验证码"
|
||||
|
||||
msgid "Reasoning enable"
|
||||
msgstr "开启思考过程"
|
||||
|
||||
msgid "Reasoning start tag"
|
||||
msgstr "思考过程开始标签"
|
||||
|
||||
msgid "Reasoning end tag"
|
||||
msgstr "思考过程结束标签"
|
||||
|
|
@ -7672,4 +7672,13 @@ msgid "Captcha code error or expiration"
|
|||
msgstr "驗證碼錯誤或過期"
|
||||
|
||||
msgid "captcha"
|
||||
msgstr "驗證碼"
|
||||
msgstr "驗證碼"
|
||||
|
||||
msgid "Reasoning enable"
|
||||
msgstr "開啟思考過程"
|
||||
|
||||
msgid "Reasoning start tag"
|
||||
msgstr "思考過程開始標籤"
|
||||
|
||||
msgid "Reasoning end tag"
|
||||
msgstr "思考過程結束標籤"
|
||||
Loading…
Reference in New Issue