streamio

package
v2026.701.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 1, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrLegacyEarlyStop = errors.New("legacy stream early stop")

Functions

func NormalizeReasoningWhitespace

func NormalizeReasoningWhitespace(s string) string

func TruncatedContent

func TruncatedContent(w io.Writer, fallback string) string

func WriteContent

func WriteContent(w io.Writer, s string) error

func WriteContentLegacy

func WriteContentLegacy(w io.Writer, s string) (legacyStopped bool, err error)

func WriteReasoningDelta

func WriteReasoningDelta(sink io.Writer, s string)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL