runagentbenchmark

package
v0.0.0-...-f07582e Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2026 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command() *cobra.Command

Command creates a new run-agent-bench command instance.

func Handler

func Handler(ctx context.Context, cfg Config, deps *Deps) (*act.NoOutput, error)

Handler contains the business logic for the run-agent-bench command.

Types

type Config

type Config struct {
	Project         string
	API             string
	MaxConcurrency  int
	AgentIterations int
	BenchmarkFile   string
	ExecutionMode   string
	AgentModel      string
}

Config holds all configuration for the run-agent-bench command.

func (Config) Validate

func (c Config) Validate() error

Validate ensures the configuration is valid.

type Deps

type Deps struct {
	IO cli.IO
}

Deps holds dependencies for the command.

func InitDeps

func InitDeps(context.Context) (*Deps, error)

InitDeps initializes Deps.

func (*Deps) SetIO

func (d *Deps) SetIO(cio cli.IO)

Jump to

Keyboard shortcuts

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