Skip to main content

stream

AsyncMethod
This is a method of the CliBackendProtocol class in the protocols module.
Stream response deltas from CLI backend.

Signature

Parameters

str
required
User prompt/query **kwargs: Additional options (session, images, etc.) CliBackendDelta objects with incremental response content

Returns

AsyncIterator[CliBackendDelta]
The result of the operation.

Source

View on GitHub

praisonaiagents/cli_backend/protocols.py at line 137