mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-07-03 14:09:24 +00:00
Document streamed tool call arguments
This commit is contained in:
@@ -64,6 +64,7 @@ from crewai.events.types.llm_events import (
|
||||
LLMCallCompletedEvent,
|
||||
LLMCallFailedEvent,
|
||||
LLMCallStartedEvent,
|
||||
LLMCallType,
|
||||
LLMStreamChunkEvent,
|
||||
)
|
||||
from crewai.events.types.llm_guardrail_events import (
|
||||
@@ -455,6 +456,13 @@ class EventListener(BaseEventListener):
|
||||
|
||||
@crewai_event_bus.on(LLMStreamChunkEvent)
|
||||
def on_llm_stream_chunk(_: Any, event: LLMStreamChunkEvent) -> None:
|
||||
if event.call_type == LLMCallType.TOOL_CALL:
|
||||
self.formatter.handle_llm_stream_chunk(
|
||||
event.tool_call.function.arguments if event.tool_call else "",
|
||||
event.call_type,
|
||||
)
|
||||
return
|
||||
|
||||
self.text_stream.write(event.chunk)
|
||||
self.text_stream.seek(self.next_chunk)
|
||||
self.text_stream.read()
|
||||
|
||||
@@ -437,6 +437,8 @@ To enable tracing, do any one of these:
|
||||
if not self.verbose:
|
||||
return
|
||||
|
||||
self.pause_live_updates()
|
||||
|
||||
with self._tool_counts_lock:
|
||||
self.tool_usage_counts[tool_name] = (
|
||||
self.tool_usage_counts.get(tool_name, 0) + 1
|
||||
@@ -468,6 +470,8 @@ To enable tracing, do any one of these:
|
||||
if not self.verbose:
|
||||
return
|
||||
|
||||
self.pause_live_updates()
|
||||
|
||||
with self._tool_counts_lock:
|
||||
iteration = self.tool_usage_counts.get(tool_name, 1)
|
||||
|
||||
@@ -495,6 +499,8 @@ To enable tracing, do any one of these:
|
||||
if not self.verbose:
|
||||
return
|
||||
|
||||
self.pause_live_updates()
|
||||
|
||||
with self._tool_counts_lock:
|
||||
iteration = self.tool_usage_counts.get(tool_name, 1)
|
||||
|
||||
@@ -543,6 +549,15 @@ To enable tracing, do any one of these:
|
||||
if should_suppress_console_output():
|
||||
return
|
||||
|
||||
from crewai.events.types.llm_events import LLMCallType
|
||||
|
||||
if call_type == LLMCallType.TOOL_CALL:
|
||||
self.pause_live_updates()
|
||||
self._is_streaming = False
|
||||
self._last_stream_call_type = call_type
|
||||
self._just_streamed_final_answer = False
|
||||
return
|
||||
|
||||
self._is_streaming = True
|
||||
self._last_stream_call_type = call_type
|
||||
|
||||
@@ -554,17 +569,9 @@ To enable tracing, do any one of these:
|
||||
display_text = "...\n" + display_text
|
||||
|
||||
content = Text()
|
||||
|
||||
from crewai.events.types.llm_events import LLMCallType
|
||||
|
||||
if call_type == LLMCallType.TOOL_CALL:
|
||||
content.append(display_text, style="yellow")
|
||||
title = "🔧 Tool Arguments"
|
||||
border_style = "yellow"
|
||||
else:
|
||||
content.append(display_text, style="bright_green")
|
||||
title = "✅ Agent Final Answer"
|
||||
border_style = "green"
|
||||
content.append(display_text, style="bright_green")
|
||||
title = "✅ Agent Final Answer"
|
||||
border_style = "green"
|
||||
|
||||
streaming_panel = Panel(
|
||||
content,
|
||||
|
||||
@@ -685,6 +685,40 @@ class BaseLLM(BaseModel, ABC):
|
||||
),
|
||||
)
|
||||
|
||||
def _emit_tool_call_stream_chunk_event(
|
||||
self,
|
||||
*,
|
||||
chunk: str,
|
||||
tool_call_id: str | None,
|
||||
tool_name: str | None,
|
||||
arguments: str,
|
||||
index: int,
|
||||
from_task: Task | None = None,
|
||||
from_agent: BaseAgent | None = None,
|
||||
response_id: str | None = None,
|
||||
) -> None:
|
||||
"""Emit a normalized streamed tool-call chunk.
|
||||
|
||||
``chunk`` is the latest provider delta while ``arguments`` is the
|
||||
accumulated argument string for consumers that want current state.
|
||||
"""
|
||||
self._emit_stream_chunk_event(
|
||||
chunk=chunk,
|
||||
from_task=from_task,
|
||||
from_agent=from_agent,
|
||||
tool_call={
|
||||
"id": tool_call_id,
|
||||
"function": {
|
||||
"name": tool_name or "",
|
||||
"arguments": arguments,
|
||||
},
|
||||
"type": "function",
|
||||
"index": index,
|
||||
},
|
||||
call_type=LLMCallType.TOOL_CALL,
|
||||
response_id=response_id,
|
||||
)
|
||||
|
||||
def _emit_thinking_chunk_event(
|
||||
self,
|
||||
chunk: str,
|
||||
|
||||
@@ -1102,6 +1102,7 @@ class OpenAICompletion(BaseLLM):
|
||||
"""Handle streaming Responses API call."""
|
||||
full_response = ""
|
||||
function_calls: list[dict[str, Any]] = []
|
||||
streaming_function_calls: dict[str, dict[str, Any]] = {}
|
||||
final_response: Response | None = None
|
||||
usage: dict[str, Any] | None = None
|
||||
|
||||
@@ -1123,11 +1124,46 @@ class OpenAICompletion(BaseLLM):
|
||||
)
|
||||
|
||||
elif event.type == "response.function_call_arguments.delta":
|
||||
pass
|
||||
self._process_responses_function_call_delta(
|
||||
event=event,
|
||||
function_calls=streaming_function_calls,
|
||||
from_task=from_task,
|
||||
from_agent=from_agent,
|
||||
response_id=response_id_stream,
|
||||
)
|
||||
|
||||
elif event.type == "response.function_call_arguments.done":
|
||||
self._process_responses_function_call_done(
|
||||
event=event,
|
||||
function_calls=streaming_function_calls,
|
||||
from_task=from_task,
|
||||
from_agent=from_agent,
|
||||
response_id=response_id_stream,
|
||||
)
|
||||
|
||||
elif event.type == "response.output_item.added":
|
||||
item = event.item
|
||||
if item.type == "function_call":
|
||||
self._process_responses_function_call_started(
|
||||
event=event,
|
||||
function_calls=streaming_function_calls,
|
||||
from_task=from_task,
|
||||
from_agent=from_agent,
|
||||
response_id=response_id_stream,
|
||||
)
|
||||
|
||||
elif event.type == "response.output_item.done":
|
||||
item = event.item
|
||||
if item.type == "function_call":
|
||||
call_key = self._responses_function_call_key(event)
|
||||
if call_key in streaming_function_calls:
|
||||
streaming_function_calls[call_key].update(
|
||||
{
|
||||
"id": item.call_id,
|
||||
"name": item.name,
|
||||
"arguments": item.arguments,
|
||||
}
|
||||
)
|
||||
function_calls.append(
|
||||
{
|
||||
"id": item.call_id,
|
||||
@@ -1239,6 +1275,7 @@ class OpenAICompletion(BaseLLM):
|
||||
"""Handle async streaming Responses API call."""
|
||||
full_response = ""
|
||||
function_calls: list[dict[str, Any]] = []
|
||||
streaming_function_calls: dict[str, dict[str, Any]] = {}
|
||||
final_response: Response | None = None
|
||||
usage: dict[str, Any] | None = None
|
||||
|
||||
@@ -1260,11 +1297,46 @@ class OpenAICompletion(BaseLLM):
|
||||
)
|
||||
|
||||
elif event.type == "response.function_call_arguments.delta":
|
||||
pass
|
||||
self._process_responses_function_call_delta(
|
||||
event=event,
|
||||
function_calls=streaming_function_calls,
|
||||
from_task=from_task,
|
||||
from_agent=from_agent,
|
||||
response_id=response_id_stream,
|
||||
)
|
||||
|
||||
elif event.type == "response.function_call_arguments.done":
|
||||
self._process_responses_function_call_done(
|
||||
event=event,
|
||||
function_calls=streaming_function_calls,
|
||||
from_task=from_task,
|
||||
from_agent=from_agent,
|
||||
response_id=response_id_stream,
|
||||
)
|
||||
|
||||
elif event.type == "response.output_item.added":
|
||||
item = event.item
|
||||
if item.type == "function_call":
|
||||
self._process_responses_function_call_started(
|
||||
event=event,
|
||||
function_calls=streaming_function_calls,
|
||||
from_task=from_task,
|
||||
from_agent=from_agent,
|
||||
response_id=response_id_stream,
|
||||
)
|
||||
|
||||
elif event.type == "response.output_item.done":
|
||||
item = event.item
|
||||
if item.type == "function_call":
|
||||
call_key = self._responses_function_call_key(event)
|
||||
if call_key in streaming_function_calls:
|
||||
streaming_function_calls[call_key].update(
|
||||
{
|
||||
"id": item.call_id,
|
||||
"name": item.name,
|
||||
"arguments": item.arguments,
|
||||
}
|
||||
)
|
||||
function_calls.append(
|
||||
{
|
||||
"id": item.call_id,
|
||||
@@ -1363,6 +1435,135 @@ class OpenAICompletion(BaseLLM):
|
||||
|
||||
return full_response
|
||||
|
||||
@staticmethod
|
||||
def _responses_function_call_key(event: Any) -> str:
|
||||
item = getattr(event, "item", None)
|
||||
item_id = getattr(event, "item_id", None) or getattr(item, "id", None)
|
||||
if item_id:
|
||||
return str(item_id)
|
||||
output_index = getattr(event, "output_index", None)
|
||||
if output_index is not None:
|
||||
return f"output:{output_index}"
|
||||
return "output:0"
|
||||
|
||||
def _process_responses_function_call_delta(
|
||||
self,
|
||||
*,
|
||||
event: Any,
|
||||
function_calls: dict[str, dict[str, Any]],
|
||||
from_task: Any | None = None,
|
||||
from_agent: Any | None = None,
|
||||
response_id: str | None = None,
|
||||
) -> None:
|
||||
call_key = self._responses_function_call_key(event)
|
||||
output_index = getattr(event, "output_index", 0) or 0
|
||||
item_id = getattr(event, "item_id", None)
|
||||
delta = getattr(event, "delta", "") or ""
|
||||
call_data = function_calls.setdefault(
|
||||
call_key,
|
||||
{
|
||||
"id": item_id,
|
||||
"name": "",
|
||||
"arguments": "",
|
||||
"index": output_index,
|
||||
"streamed_arguments": False,
|
||||
},
|
||||
)
|
||||
if item_id and not call_data.get("id"):
|
||||
call_data["id"] = item_id
|
||||
call_data["arguments"] += delta
|
||||
call_data["streamed_arguments"] = True
|
||||
|
||||
self._emit_tool_call_stream_chunk_event(
|
||||
chunk=delta,
|
||||
tool_call_id=call_data.get("id"),
|
||||
tool_name=call_data.get("name"),
|
||||
arguments=call_data["arguments"],
|
||||
index=call_data["index"],
|
||||
from_task=from_task,
|
||||
from_agent=from_agent,
|
||||
response_id=response_id,
|
||||
)
|
||||
|
||||
def _process_responses_function_call_started(
|
||||
self,
|
||||
*,
|
||||
event: Any,
|
||||
function_calls: dict[str, dict[str, Any]],
|
||||
from_task: Any | None = None,
|
||||
from_agent: Any | None = None,
|
||||
response_id: str | None = None,
|
||||
) -> None:
|
||||
call_key = self._responses_function_call_key(event)
|
||||
output_index = getattr(event, "output_index", 0) or 0
|
||||
item = getattr(event, "item", None)
|
||||
item_id = getattr(item, "id", None)
|
||||
call_data = function_calls.setdefault(
|
||||
call_key,
|
||||
{
|
||||
"id": getattr(item, "call_id", None) or item_id,
|
||||
"name": getattr(item, "name", None) or "",
|
||||
"arguments": "",
|
||||
"index": output_index,
|
||||
"streamed_arguments": False,
|
||||
},
|
||||
)
|
||||
call_data["id"] = call_data.get("id") or getattr(item, "call_id", None)
|
||||
call_data["name"] = call_data.get("name") or getattr(item, "name", None) or ""
|
||||
|
||||
self._emit_tool_call_stream_chunk_event(
|
||||
chunk="",
|
||||
tool_call_id=call_data.get("id"),
|
||||
tool_name=call_data.get("name"),
|
||||
arguments=call_data["arguments"],
|
||||
index=call_data["index"],
|
||||
from_task=from_task,
|
||||
from_agent=from_agent,
|
||||
response_id=response_id,
|
||||
)
|
||||
|
||||
def _process_responses_function_call_done(
|
||||
self,
|
||||
*,
|
||||
event: Any,
|
||||
function_calls: dict[str, dict[str, Any]],
|
||||
from_task: Any | None = None,
|
||||
from_agent: Any | None = None,
|
||||
response_id: str | None = None,
|
||||
) -> None:
|
||||
call_key = self._responses_function_call_key(event)
|
||||
output_index = getattr(event, "output_index", 0) or 0
|
||||
item_id = getattr(event, "item_id", None)
|
||||
arguments = getattr(event, "arguments", "") or ""
|
||||
call_data = function_calls.setdefault(
|
||||
call_key,
|
||||
{
|
||||
"id": item_id,
|
||||
"name": "",
|
||||
"arguments": "",
|
||||
"index": output_index,
|
||||
"streamed_arguments": False,
|
||||
},
|
||||
)
|
||||
if item_id and not call_data.get("id"):
|
||||
call_data["id"] = item_id
|
||||
call_data["name"] = getattr(event, "name", None) or call_data.get("name", "")
|
||||
|
||||
if not call_data.get("streamed_arguments") and arguments:
|
||||
call_data["arguments"] = arguments
|
||||
self._emit_tool_call_stream_chunk_event(
|
||||
chunk=arguments,
|
||||
tool_call_id=call_data.get("id"),
|
||||
tool_name=call_data.get("name"),
|
||||
arguments=call_data["arguments"],
|
||||
index=call_data["index"],
|
||||
from_task=from_task,
|
||||
from_agent=from_agent,
|
||||
response_id=response_id,
|
||||
)
|
||||
elif arguments:
|
||||
call_data["arguments"] = arguments
|
||||
|
||||
def _extract_function_calls_from_response(
|
||||
self, response: Response
|
||||
) -> list[dict[str, Any]]:
|
||||
|
||||
@@ -7,6 +7,7 @@ import openai
|
||||
import pytest
|
||||
|
||||
from crewai.llm import LLM
|
||||
from crewai.events.types.llm_events import LLMCallType, LLMStreamChunkEvent
|
||||
from crewai.llms.providers.openai.completion import OpenAICompletion, ResponsesAPIResult
|
||||
from crewai.crew import Crew
|
||||
from crewai.agent import Agent
|
||||
@@ -1887,6 +1888,195 @@ def test_openai_responses_api_no_detail_fields_omitted():
|
||||
assert "reasoning_tokens" not in usage
|
||||
|
||||
|
||||
def test_openai_responses_streaming_emits_tool_call_argument_deltas():
|
||||
llm = OpenAICompletion(model="gpt-4o", api="responses", stream=True)
|
||||
stream_events = [
|
||||
types.SimpleNamespace(
|
||||
type="response.created",
|
||||
response=types.SimpleNamespace(id="resp_123"),
|
||||
),
|
||||
types.SimpleNamespace(
|
||||
type="response.output_item.added",
|
||||
output_index=0,
|
||||
item=types.SimpleNamespace(
|
||||
type="function_call",
|
||||
id="fc_123",
|
||||
call_id="call_123",
|
||||
name="get_weather",
|
||||
arguments="",
|
||||
),
|
||||
),
|
||||
types.SimpleNamespace(
|
||||
type="response.function_call_arguments.delta",
|
||||
item_id="fc_123",
|
||||
output_index=0,
|
||||
delta='{"city"',
|
||||
),
|
||||
types.SimpleNamespace(
|
||||
type="response.function_call_arguments.delta",
|
||||
item_id="fc_123",
|
||||
output_index=0,
|
||||
delta=': "Paris"}',
|
||||
),
|
||||
types.SimpleNamespace(
|
||||
type="response.function_call_arguments.done",
|
||||
item_id="fc_123",
|
||||
output_index=0,
|
||||
name="get_weather",
|
||||
arguments='{"city": "Paris"}',
|
||||
),
|
||||
types.SimpleNamespace(
|
||||
type="response.output_item.done",
|
||||
output_index=0,
|
||||
item=types.SimpleNamespace(
|
||||
type="function_call",
|
||||
id="fc_123",
|
||||
call_id="call_123",
|
||||
name="get_weather",
|
||||
arguments='{"city": "Paris"}',
|
||||
),
|
||||
),
|
||||
types.SimpleNamespace(
|
||||
type="response.completed",
|
||||
response=types.SimpleNamespace(
|
||||
id="resp_123",
|
||||
status="completed",
|
||||
usage=None,
|
||||
),
|
||||
),
|
||||
]
|
||||
fake_client = types.SimpleNamespace(
|
||||
responses=types.SimpleNamespace(create=lambda **_: iter(stream_events))
|
||||
)
|
||||
|
||||
with patch.object(llm, "_get_sync_client", return_value=fake_client):
|
||||
with patch("crewai.events.event_bus.CrewAIEventsBus.emit") as mock_emit:
|
||||
llm._handle_streaming_responses({"input": []})
|
||||
|
||||
tool_call_events = [
|
||||
call.kwargs["event"]
|
||||
for call in mock_emit.call_args_list
|
||||
if isinstance(call.kwargs.get("event"), LLMStreamChunkEvent)
|
||||
and call.kwargs["event"].call_type == LLMCallType.TOOL_CALL
|
||||
]
|
||||
|
||||
assert [event.chunk for event in tool_call_events] == [
|
||||
"",
|
||||
'{"city"',
|
||||
': "Paris"}',
|
||||
]
|
||||
assert [
|
||||
event.tool_call.function.arguments for event in tool_call_events
|
||||
] == ["", '{"city"', '{"city": "Paris"}']
|
||||
assert all(event.tool_call.id == "call_123" for event in tool_call_events)
|
||||
assert all(
|
||||
event.tool_call.function.name == "get_weather" for event in tool_call_events
|
||||
)
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_openai_responses_async_streaming_emits_tool_call_argument_deltas():
|
||||
llm = OpenAICompletion(model="gpt-4o", api="responses", stream=True)
|
||||
stream_events = [
|
||||
types.SimpleNamespace(
|
||||
type="response.created",
|
||||
response=types.SimpleNamespace(id="resp_123"),
|
||||
),
|
||||
types.SimpleNamespace(
|
||||
type="response.output_item.added",
|
||||
output_index=0,
|
||||
item=types.SimpleNamespace(
|
||||
type="function_call",
|
||||
id="fc_123",
|
||||
call_id="call_123",
|
||||
name="get_weather",
|
||||
arguments="",
|
||||
),
|
||||
),
|
||||
types.SimpleNamespace(
|
||||
type="response.function_call_arguments.delta",
|
||||
item_id="fc_123",
|
||||
output_index=0,
|
||||
delta='{"city"',
|
||||
),
|
||||
types.SimpleNamespace(
|
||||
type="response.function_call_arguments.delta",
|
||||
item_id="fc_123",
|
||||
output_index=0,
|
||||
delta=': "Paris"}',
|
||||
),
|
||||
types.SimpleNamespace(
|
||||
type="response.function_call_arguments.done",
|
||||
item_id="fc_123",
|
||||
output_index=0,
|
||||
name="get_weather",
|
||||
arguments='{"city": "Paris"}',
|
||||
),
|
||||
types.SimpleNamespace(
|
||||
type="response.output_item.done",
|
||||
output_index=0,
|
||||
item=types.SimpleNamespace(
|
||||
type="function_call",
|
||||
id="fc_123",
|
||||
call_id="call_123",
|
||||
name="get_weather",
|
||||
arguments='{"city": "Paris"}',
|
||||
),
|
||||
),
|
||||
types.SimpleNamespace(
|
||||
type="response.completed",
|
||||
response=types.SimpleNamespace(
|
||||
id="resp_123",
|
||||
status="completed",
|
||||
usage=None,
|
||||
),
|
||||
),
|
||||
]
|
||||
|
||||
class MockAsyncStream:
|
||||
def __init__(self, events: list[Any]) -> None:
|
||||
self._events = events
|
||||
self._index = 0
|
||||
|
||||
def __aiter__(self) -> "MockAsyncStream":
|
||||
return self
|
||||
|
||||
async def __anext__(self) -> Any:
|
||||
if self._index >= len(self._events):
|
||||
raise StopAsyncIteration
|
||||
event = self._events[self._index]
|
||||
self._index += 1
|
||||
return event
|
||||
|
||||
fake_client = types.SimpleNamespace(
|
||||
responses=types.SimpleNamespace(create=lambda **_: MockAsyncStream(stream_events))
|
||||
)
|
||||
|
||||
with patch.object(llm, "_get_async_client", return_value=fake_client):
|
||||
with patch("crewai.events.event_bus.CrewAIEventsBus.emit") as mock_emit:
|
||||
await llm._ahandle_streaming_responses({"input": []})
|
||||
|
||||
tool_call_events = [
|
||||
call.kwargs["event"]
|
||||
for call in mock_emit.call_args_list
|
||||
if isinstance(call.kwargs.get("event"), LLMStreamChunkEvent)
|
||||
and call.kwargs["event"].call_type == LLMCallType.TOOL_CALL
|
||||
]
|
||||
|
||||
assert [event.chunk for event in tool_call_events] == [
|
||||
"",
|
||||
'{"city"',
|
||||
': "Paris"}',
|
||||
]
|
||||
assert [
|
||||
event.tool_call.function.arguments for event in tool_call_events
|
||||
] == ["", '{"city"', '{"city": "Paris"}']
|
||||
assert all(event.tool_call.id == "call_123" for event in tool_call_events)
|
||||
assert all(
|
||||
event.tool_call.function.name == "get_weather" for event in tool_call_events
|
||||
)
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_openai_async_streaming_returns_tool_calls_without_available_functions():
|
||||
"""Test that async streaming returns tool calls list when available_functions is None.
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
from unittest.mock import MagicMock, patch
|
||||
from rich.live import Live
|
||||
from crewai.events.types.llm_events import LLMCallType
|
||||
from crewai.events.utils.console_formatter import ConsoleFormatter
|
||||
|
||||
|
||||
@@ -110,3 +111,38 @@ class TestConsoleFormatterPauseResume:
|
||||
# Streaming again creates new session
|
||||
formatter.handle_llm_stream_chunk("chunk 2", call_type=None)
|
||||
assert formatter._streaming_live == mock_live_instance_2
|
||||
|
||||
def test_tool_call_stream_chunk_does_not_create_live_panel(self):
|
||||
formatter = ConsoleFormatter(verbose=True)
|
||||
|
||||
with patch("crewai.events.utils.console_formatter.Live") as mock_live_class:
|
||||
formatter.handle_llm_stream_chunk(
|
||||
'{"city":"Paris"}', call_type=LLMCallType.TOOL_CALL
|
||||
)
|
||||
|
||||
mock_live_class.assert_not_called()
|
||||
assert formatter._streaming_live is None
|
||||
assert formatter._is_streaming is False
|
||||
|
||||
def test_tool_call_stream_chunk_stops_existing_live_panel(self):
|
||||
formatter = ConsoleFormatter(verbose=True)
|
||||
mock_live = MagicMock(spec=Live)
|
||||
formatter._streaming_live = mock_live
|
||||
|
||||
formatter.handle_llm_stream_chunk(
|
||||
'{"city":"Paris"}', call_type=LLMCallType.TOOL_CALL
|
||||
)
|
||||
|
||||
mock_live.stop.assert_called_once()
|
||||
assert formatter._streaming_live is None
|
||||
|
||||
def test_tool_usage_started_pauses_existing_live_panel(self):
|
||||
formatter = ConsoleFormatter(verbose=True)
|
||||
mock_live = MagicMock(spec=Live)
|
||||
formatter._streaming_live = mock_live
|
||||
|
||||
with patch.object(formatter, "print_panel"):
|
||||
formatter.handle_tool_usage_started("get_weather", {"city": "Paris"})
|
||||
|
||||
mock_live.stop.assert_called_once()
|
||||
assert formatter._streaming_live is None
|
||||
|
||||
Reference in New Issue
Block a user