Skip to main content

attach

Function attach 

Source
pub fn attach(
    inner: Arc<dyn ModelProvider>,
    settings: TranscriptSettings,
) -> (Arc<dyn ModelProvider>, Zoom)
Expand description

Wires a transcript over inner: the view decorator plus the zoom resolver, sharing one mirror. A consumer that builds its own rhema_core::Agent sends the wrapped provider through to the builder and overlays the resolver over its tool chain; the coding agent does both in its constructor when its config enables the transcript.

The mirror starts empty; the first request fills it. Sections keep their extractive stand-ins — pass a summarizer to attach_with_summarizer for the model fill.