summary

package
v1.11.3 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ToolName        = "submit_summary"
	TitleMaxRunes   = 60
	SummaryMaxRunes = 240
	InputMaxRunes   = models.SummaryInputRunes
	MaxToolCalls    = 4
)
View Source
const EnvSummarizer = "CLAI_SUMMARIZER"

EnvSummarizer is the operator kill switch for the real conversation summarizer: "off" refuses to build it in any process (worklog 2026-09-09-conversation-summaries, D32). Tests never reach this constructor through the CLI unless their fixture opts in: the e2e test binary swaps internal/cli's injected constructor for a refusing one.

Variables

This section is empty.

Functions

func NewAgentSummarizer

func NewAgentSummarizer(confDir string) (models.Summarizer, error)

NewAgentSummarizer loads textConfig.json once for the model ladder and returns the querier-backed Summarizer.

func ParseSince

func ParseSince(s string, now time.Time) (time.Time, error)

ParseSince resolves a window value to an instant: an extended Go duration (weeks and days before the standard units) subtracted from now, an RFC 3339 timestamp, or a date at local midnight (D4).

Types

This section is empty.

Jump to

Keyboard shortcuts

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