mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-25 17:22:55 +00:00
fix: Fix Simple Application preview show 404 error page
--bug=1052069 --user=刘瑞斌 【简易应用】- 调试预览中提问报404 https://www.tapd.cn/57709429/s/1651941
This commit is contained in:
parent
8668796c5d
commit
c60783d61e
|
|
@ -18,6 +18,10 @@ from common.response import result
|
|||
|
||||
class Reasoning:
|
||||
def __init__(self, reasoning_content_start, reasoning_content_end):
|
||||
if not reasoning_content_start:
|
||||
reasoning_content_start = "<think>"
|
||||
if not reasoning_content_end:
|
||||
reasoning_content_end = "</think>"
|
||||
self.content = ""
|
||||
self.reasoning_content = ""
|
||||
self.all_content = ""
|
||||
|
|
|
|||
Loading…
Reference in New Issue