File tree Expand file tree Collapse file tree 4 files changed +42
-3
lines changed
Expand file tree Collapse file tree 4 files changed +42
-3
lines changed Original file line number Diff line number Diff line change @@ -302,7 +302,19 @@ def get_request_body_api():
302302 'no_references_prompt' : openapi .Schema (type = openapi .TYPE_STRING ,
303303 title = _ ("No citation segmentation prompt" ),
304304 default = "{question}" ,
305- description = _ ("No citation segmentation prompt" ))
305+ description = _ ("No citation segmentation prompt" )),
306+ 'reasoning_content_enable' : openapi .Schema (type = openapi .TYPE_BOOLEAN ,
307+ title = _ ("Reasoning enable" ),
308+ default = False ,
309+ description = _ ("Reasoning enable" )),
310+ 'reasoning_content_end' : openapi .Schema (type = openapi .TYPE_STRING ,
311+ title = _ ("Reasoning end tag" ),
312+ default = "</think>" ,
313+ description = _ ("Reasoning end tag" )),
314+ "reasoning_content_start" : openapi .Schema (type = openapi .TYPE_STRING ,
315+ title = _ ("Reasoning start tag" ),
316+ default = "<think>" ,
317+ description = _ ("Reasoning start tag" ))
306318
307319 }
308320 )
Original file line number Diff line number Diff line change @@ -7499,4 +7499,13 @@ msgid "Captcha code error or expiration"
74997499msgstr ""
75007500
75017501msgid "captcha"
7502+ msgstr ""
7503+
7504+ msgid "Reasoning enable"
7505+ msgstr ""
7506+
7507+ msgid "Reasoning start tag"
7508+ msgstr ""
7509+
7510+ msgid "Reasoning end tag"
75027511msgstr ""
Original file line number Diff line number Diff line change @@ -7662,4 +7662,13 @@ msgid "Captcha code error or expiration"
76627662msgstr "验证码错误或过期"
76637663
76647664msgid "captcha"
7665- msgstr "验证码"
7665+ msgstr "验证码"
7666+
7667+ msgid "Reasoning enable"
7668+ msgstr "开启思考过程"
7669+
7670+ msgid "Reasoning start tag"
7671+ msgstr "思考过程开始标签"
7672+
7673+ msgid "Reasoning end tag"
7674+ msgstr "思考过程结束标签"
Original file line number Diff line number Diff line change @@ -7672,4 +7672,13 @@ msgid "Captcha code error or expiration"
76727672msgstr "驗證碼錯誤或過期"
76737673
76747674msgid "captcha"
7675- msgstr "驗證碼"
7675+ msgstr "驗證碼"
7676+
7677+ msgid "Reasoning enable"
7678+ msgstr "開啟思考過程"
7679+
7680+ msgid "Reasoning start tag"
7681+ msgstr "思考過程開始標籤"
7682+
7683+ msgid "Reasoning end tag"
7684+ msgstr "思考過程結束標籤"
You can’t perform that action at this time.
0 commit comments