Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion endpoints/OAI/utils/chat_completion.py
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ async def _chat_stream_collector(
# out of a </think> tag
if (
"logprobs_content" in generation
and tag not in [t_think_end, t_tool_end]
and tag not in [t for t in (t_think_end, t_tool_end) if t]
and not in_reasoning
and not in_tool
):
Expand Down