(content string)
| 120 | } |
| 121 | |
| 122 | func (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 | |
| 132 | func (b *streamBuilder) AddReasoning(content string) *streamBuilder { |
| 133 | b.responses = append(b.responses, chat.MessageStreamResponse{ |
no outgoing calls
no test coverage detected