MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / stream

Method stream

crates/opencode-session/src/llm.rs:802–807  ·  view source on GitHub ↗

Start a stream from a `StreamInput` and provider.

(
        input: StreamInput,
        provider: Arc<dyn Provider>,
    )

Source from the content-addressed store, hash-verified

800impl LlmProcessor {
801 /// Start a stream from a `StreamInput` and provider.
802 pub async fn stream(
803 input: StreamInput,
804 provider: Arc<dyn Provider>,
805 ) -> anyhow::Result<StreamOutput> {
806 Self::stream_from_input(&input, provider).await
807 }
808
809 /// Internal: build the request and start streaming.
810 async fn stream_from_input(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected