Documentation
¶
Overview ¶
Package llmrun provides the gollem-backed implementation of evaltype.Completer. It wraps gollem.New(...).Execute so the eval components can issue a single system+user completion (optionally JSON-schema constrained) without each re-implementing the agent wiring.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Completer ¶
type Completer struct {
// contains filtered or unexported fields
}
Completer drives a single gollem completion against one LLM client.
func (*Completer) Complete ¶
func (c *Completer) Complete(ctx context.Context, systemPrompt, userPrompt string, schema *gollem.Parameter) (string, error)
Complete runs one completion. When schema is non-nil the call is constrained to JSON output and the first top-level JSON object is returned; otherwise the joined plain text is returned. LoopLimit is 2 (one generate plus the minimum to surface a structured-output round), matching the planexec final phase.