Skip to main content

StreamingTracker

Defined in the profiler module.
AI Agents Framework Track streaming operations (LLM responses). Extends the core SDK’s StreamingTracker (single owner of the TTFT start/first_token/chunk/end logic) with wrapper-only total_tokens support and records to the wrapper’s context-aware Profiler.

Constructor

str
required
No description available.

Methods

end()

End tracking and record to the wrapper Profiler.

Usage

Source

View on GitHub

praisonai/profiler.py at line 211