(content string)
| 130 | } |
| 131 | |
| 132 | func (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 | |
| 142 | func (b *streamBuilder) AddToolCallName(id, name string) *streamBuilder { |
| 143 | b.responses = append(b.responses, chat.MessageStreamResponse{ |
no outgoing calls
no test coverage detected