diff --git a/examples/stream_frame_debug_runner.py b/examples/stream_frame_debug_runner.py deleted file mode 100644 index e4471d52d..000000000 --- a/examples/stream_frame_debug_runner.py +++ /dev/null @@ -1,32 +0,0 @@ -"""Minimal direct LLM streaming runner. - -Run from the repo root: - - uv run python examples/stream_frame_debug_runner.py -""" - -from __future__ import annotations - -# ruff: noqa: T201 -import os - -from crewai import LLM - - -llm = LLM(model=os.getenv("OPENAI_MODEL", "gpt-4o-mini")) -messages = [ - { - "role": "user", - "content": "Explain CrewAI streaming in two short sentences.", - } -] - -stream = llm.stream_events(messages=messages) - -print("--- chunks ---") -with stream: - for chunk in stream: - print(chunk.content, end="", flush=True) - -print("\n\n--- result ---") -print(stream.result)