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

Method AddReasoning

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

Source from the content-addressed store, hash-verified

130}
131
132func (b *streamBuilder) AddReasoning(content string) *streamBuilder {
133 b.responses = append(b.responses, chat.MessageStreamResponse{
134 Choices: []chat.MessageStreamChoice{{
135 Index: 0,
136 Delta: chat.MessageDelta{ReasoningContent: content},
137 }},
138 })
139 return b
140}
141
142func (b *streamBuilder) AddToolCallName(id, name string) *streamBuilder {
143 b.responses = append(b.responses, chat.MessageStreamResponse{

Callers 3

TestWithReasoningFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected