Documentation
¶
Overview ¶
Package agent provides the core reasoning loop and tool execution logic.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrModel = errors.New("model failure")
ErrModel failure originating from model transport/stream/provider layers.
Functions ¶
This section is empty.
Types ¶
type GraphRunner ¶
type GraphRunner struct {
// contains filtered or unexported fields
}
GraphRunner executes the LLM/tool graph. Field order is kept for readability; padding is acceptable.
func NewGraphRunner ¶
func NewGraphRunner( llm domain.LLM, registry toolRegistry, waiter actionWaiter, maxIterations int, events eventSender, notifier taskNotifier, summarizer transcriptSummarizer, permission permissionAsker, ) (*GraphRunner, error)
type Summarizer ¶
type Summarizer struct {
// contains filtered or unexported fields
}
Summarizer compresses message history into a single summary message using Eino.
func NewSummarizer ¶
func NewSummarizer(llm domain.LLM) *Summarizer
NewSummarizer creates a new summarizer using the provided LLM.
Click to show internal directories.
Click to hide internal directories.