From e50c6d9966ea23f5507b0a048477a643d8685837 Mon Sep 17 00:00:00 2001 From: Asankilp Date: Fri, 18 Apr 2025 22:55:38 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=8A=20=E5=8D=87=E7=BA=A7=E6=B5=81?= =?UTF-8?q?=E5=BC=8F=E7=9B=B8=E5=85=B3=E6=97=A5=E5=BF=97=E7=AD=89=E7=BA=A7?= =?UTF-8?q?=E4=B8=BAINFO?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nonebot_plugin_marshoai/utils/processor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nonebot_plugin_marshoai/utils/processor.py b/nonebot_plugin_marshoai/utils/processor.py index 3b3065a..8d49835 100644 --- a/nonebot_plugin_marshoai/utils/processor.py +++ b/nonebot_plugin_marshoai/utils/processor.py @@ -16,7 +16,7 @@ async def process_chat_stream( last_chunk = chunk # print(chunk) if not is_first_token_appeared: - logger.debug(f"{chunk.id}: 第一个 token 已出现") + logger.info(f"{chunk.id}: 第一个 token 已出现") is_first_token_appeared = True if not chunk.choices: logger.info("Usage:", chunk.usage) @@ -29,7 +29,7 @@ async def process_chat_stream( reasoning_contents += delta.reasoning_content else: if not is_answering: - logger.debug( + logger.info( f"{chunk.id}: 思维链已输出完毕或无 reasoning_content 字段输出" ) is_answering = True