Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion apps/application/swagger_api/application_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,19 @@ def get_request_body_api():
'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"))

}
)
Expand Down
9 changes: 9 additions & 0 deletions apps/locales/en_US/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -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 ""
11 changes: 10 additions & 1 deletion apps/locales/zh_CN/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -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 "思考过程结束标签"
11 changes: 10 additions & 1 deletion apps/locales/zh_Hant/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -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 "思考過程結束標籤"