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

python
def record_streaming(name: str, ttft_ms: float, total_ms: float, chunk_count: int, total_tokens: int) -> None

Parameters

ParamField str

No description available.

ParamField float

No description available.

ParamField float

No description available.

ParamField int

No description available.

ParamField int

No description available.

Uses

  • record_streaming
  • get_profiler

Used By

Source

View on GitHub

praisonai/profiler.py at line 919