From f0888437b1fb14fb061dc71ddcc231cf79eda39b Mon Sep 17 00:00:00 2001 From: Orion <128988082+Orion-zhen@users.noreply.github.com> Date: Sat, 1 Mar 2025 15:42:12 +0800 Subject: [PATCH] :art: TAT --- endpoints/OAI/utils/chat_completion.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/endpoints/OAI/utils/chat_completion.py b/endpoints/OAI/utils/chat_completion.py index 3b0d695..c4b5105 100644 --- a/endpoints/OAI/utils/chat_completion.py +++ b/endpoints/OAI/utils/chat_completion.py @@ -35,7 +35,8 @@ from endpoints.OAI.types.tools import ToolCall def _extract_think_content(text: str) -> tuple[Optional[str], Optional[str]]: - """Extract content between tags and the remaining content. Only available in none-streaming mode.""" + """Extract content between tags and the remaining content. + Only available in none-streaming mode.""" if ( config.network.reasoning_start_token not in text and config.network.reasoning_end_token not in text