run

package
v2026.613.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 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 Config

type Config struct {
	MaxToolCalls int
	Timeout      time.Duration
}

type Runner

type Runner struct {
	// contains filtered or unexported fields
}

func NewRunner

func NewRunner(ctx context.Context, caller host.ToolCaller, cfg Config) (*Runner, error)

func (*Runner) Close

func (rn *Runner) Close(ctx context.Context)

func (*Runner) Run

func (rn *Runner) Run(ctx context.Context, wasm []byte) (output string, err error)

Jump to

Keyboard shortcuts

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