execution

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Result

type Result struct {
	Items   []chat.Item
	Outcome chat.Outcome
}

Result is the normalized agent output collected during execution.

func Run

func Run(ctx context.Context, req *chat.Request, agent chat.Agent, limits chat.Limits, onEvent func(chat.Event) error) (Result, error)

Run executes req with agent, normalizing emitted events and enforcing limits.

Jump to

Keyboard shortcuts

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