streaming

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 15, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package streaming is the Stage-1 namespace for response caching, formatting, stream optimisation, thinking protocol, and steering. See ../REFACTOR_PLAN.md.

Index

Constants

View Source
const DefaultMaxEntries = engine.DefaultMaxEntries

Variables

This section is empty.

Functions

func FixCodeFences

func FixCodeFences(text string) string

func FixMarkdown

func FixMarkdown(text string) string

func HashPrompt

func HashPrompt(prompt string) string

func RemoveFluff

func RemoveFluff(text string) string

func ShouldCache

func ShouldCache(prompt string) bool

Types

type CacheEntry

type CacheEntry = engine.CacheEntry

type CacheStats

type CacheStats = engine.CacheStats

type FormatRule

type FormatRule = engine.FormatRule

type FormattedResponse

type FormattedResponse = engine.FormattedResponse

type ResponseCache

type ResponseCache = engine.ResponseCache

func NewResponseCache

func NewResponseCache(maxEntries int, maxAge time.Duration) *ResponseCache

type ResponseFormatter

type ResponseFormatter = engine.ResponseFormatter

func NewResponseFormatter

func NewResponseFormatter() *ResponseFormatter

type SteeringMessage

type SteeringMessage = engine.SteeringMessage

type SteeringQueue

type SteeringQueue = engine.SteeringQueue

func NewSteeringQueue

func NewSteeringQueue() *SteeringQueue

type StreamOptimizer

type StreamOptimizer = engine.StreamOptimizer

func NewStreamOptimizer

func NewStreamOptimizer() *StreamOptimizer

type StreamStats

type StreamStats = engine.StreamStats

type ThinkingPhase

type ThinkingPhase = engine.ThinkingPhase

type ThinkingProtocol

type ThinkingProtocol = engine.ThinkingProtocol

func NewThinkingProtocol

func NewThinkingProtocol() *ThinkingProtocol

type ThinkingStep

type ThinkingStep = engine.ThinkingStep

Jump to

Keyboard shortcuts

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