Documentation
¶
Overview ¶
Package report renders a finished exploration session into a markdown summary and aggregates token spend across the session.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Analyst ¶
type Analyst struct {
// Manager writes the headline prose. Nil keeps the deterministic
// headline without any model call.
Manager explore.LLM
}
Analyst renders one exploration session into a markdown report. The aggregation, clustering, and section layout are deterministic; a single manager-model call adds a short prose headline. Any model failure other than a context error falls back to the deterministic headline so rendering always succeeds.
type Stats ¶
type Stats struct {
// contains filtered or unexported fields
}
Stats accumulates token spend across one exploration session.
func (*Stats) Apply ¶
func (s *Stats) Apply(session explore.SessionReport) explore.SessionReport
Apply returns a copy of the session with the accumulated usage set; the input session is left untouched.
Click to show internal directories.
Click to hide internal directories.