Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageStream ¶
type SSEHandler ¶
type SSEHandler struct {
// contains filtered or unexported fields
}
func NewSSEHandler ¶
func NewSSEHandler(model string, stopSequences []string, thinkingEnabled bool) *SSEHandler
func (*SSEHandler) StreamToClient ¶
func (h *SSEHandler) StreamToClient(stream MessageStream, w http.ResponseWriter) error
Click to show internal directories.
Click to hide internal directories.