Versions in this module Expand all Collapse all v0 v0.2.4 Oct 25, 2026 Changes in this version + type Change struct + MaxIterations *int + Temperature *float64 + type Run struct + func New(settings Settings) *Run + func (r *Run) AddUsage(msg *schema.Message) + func (r *Run) Append(msg *schema.Message) + func (r *Run) Apply(c Change) + func (r *Run) Begin(msgs []*schema.Message) bool + func (r *Run) Fail(msg string) + func (r *Run) Iteration() int + func (r *Run) LastError() string + func (r *Run) LastReply() string + func (r *Run) MarkDoneIfRunning() + func (r *Run) MaxIterations() int + func (r *Run) Messages() []*schema.Message + func (r *Run) NextIteration() int + func (r *Run) Result() (event.DoneData, bool) + func (r *Run) SetResult(d event.DoneData) + func (r *Run) SetStatus(s Status) + func (r *Run) Status() Status + func (r *Run) TakeUnlogged() (start int, added []*schema.Message) + func (r *Run) Temperature() float64 + func (r *Run) Usage() Usage + type Settings struct + MaxIterations int + Temperature float64 + type Status string + const Done + const Error + const Idle + const Running + const Stopped + type Usage struct + Input int + Model string + Output int + TotalOnly int + func (u Usage) Summary() event.LLMUsageSummary