MCPcopy Index your code
hub / github.com/docker/docker-agent / AddContent

Method AddContent

pkg/runtime/runtime_test.go:122–130  ·  view source on GitHub ↗
(content string)

Source from the content-addressed store, hash-verified

120}
121
122func (b *streamBuilder) AddContent(content string) *streamBuilder {
123 b.responses = append(b.responses, chat.MessageStreamResponse{
124 Choices: []chat.MessageStreamChoice{{
125 Index: 0,
126 Delta: chat.MessageDelta{Content: content},
127 }},
128 })
129 return b
130}
131
132func (b *streamBuilder) AddReasoning(content string) *streamBuilder {
133 b.responses = append(b.responses, chat.MessageStreamResponse{

Calls

no outgoing calls

Tested by

no test coverage detected