module

Crig::StreamingPrompt(M)

Trait for high-level streaming prompt interface.

This trait provides a simple interface for streaming prompts to a completion model. Implementations can optionally support prompt hooks for observing and controlling the agent's execution lifecycle.

Instance methods

Stream a simple prompt to the model

Source