Skip to content

Commit dd716e6

Browse files
feat: add visual separator between thinking content and response (AstrBotDevs#8059)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 718449d commit dd716e6

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • astrbot/core/pipeline/result_decorate

astrbot/core/pipeline/result_decorate/stage.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,9 @@ async def process(
289289
),
290290
)
291291
else:
292-
result.chain.insert(0, Plain(f"🤔 思考: {reasoning_content}\n"))
292+
result.chain.insert(
293+
0, Plain(f"🤔 思考: {reasoning_content}\n\n────\n")
294+
)
293295

294296
if should_tts and tts_provider:
295297
new_chain = []

0 commit comments

Comments
 (0)