mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2026-01-25 07:31:49 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
@@ -24,9 +24,9 @@ async def process_chat_stream(
|
||||
delta = chunk.choices[0].delta
|
||||
if (
|
||||
hasattr(delta, "reasoning_content")
|
||||
and delta.reasoning_content is not None # type:ignore
|
||||
and delta.reasoning_content is not None # type: ignore
|
||||
):
|
||||
reasoning_contents += delta.reasoning_content # type:ignore
|
||||
reasoning_contents += delta.reasoning_content # type: ignore
|
||||
else:
|
||||
if not is_answering:
|
||||
logger.info(
|
||||
|
||||
Reference in New Issue
Block a user