Skip to content

Commit c60783d

Browse files
committed
fix: Fix Simple Application preview show 404 error page
--bug=1052069 --user=刘瑞斌 【简易应用】- 调试预览中提问报404 https://www.tapd.cn/57709429/s/1651941
1 parent 8668796 commit c60783d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

apps/application/flow/tools.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818

1919
class Reasoning:
2020
def __init__(self, reasoning_content_start, reasoning_content_end):
21+
if not reasoning_content_start:
22+
reasoning_content_start = "<think>"
23+
if not reasoning_content_end:
24+
reasoning_content_end = "</think>"
2125
self.content = ""
2226
self.reasoning_content = ""
2327
self.all_content = ""

0 commit comments

Comments
 (0)