MCPcopy Create free account
hub / github.com/codehamr/codehamr / streamChunk

Struct streamChunk

internal/llm/llm.go:93–109  ·  view source on GitHub ↗

streamChunk is one OpenAI SSE frame. finish_reason is deliberately not decoded: readSSE dispatches accumulated tool calls at stream end, not on finish_reason=="tool_calls", staying provider agnostic since Ollama's /v1 shim sometimes closes with "stop" even after streaming tool_calls.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected