Record Streaming • AI Agents Framework
record_streaming: Record a streaming operation.
record_streaming
Method
</div>
This is a method of the ProfilerCompat class in the profiler module.
Record a streaming operation.
Signature
def record_streaming(name: str, ttft_ms: float, total_ms: float, chunk_count: int, total_tokens: int) -> NoneParameters
ParamField
strNo description available.
ParamField
floatNo description available.
ParamField
floatNo description available.
ParamField
intNo description available.
ParamField
intNo description available.
Uses
record_streamingget_profiler
Used By
Source
View on GitHubpraisonai/profiler.py at line 919