streaming • AI Agents Framework

streaming: Context manager for profiling streaming operations.

streaming

Method

</div>

This is a method of the Profiler class in the profiler module.

Context manager for profiling streaming operations.

Signature

python
def streaming(name: str) -> Any

Parameters

ParamField str

No description available.

Returns

ResponseField Any

The result of the operation.

Uses

  • StreamingTracker
  • tracker.start
  • tracker.end

Source

View on GitHub

praisonai/profiler.py at line 529