Help us shape the future of Go! Take the 2026 Go Developer Survey

runtime

package
v0.45.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2026 License: Apache-2.0 Imports: 38 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureRegistry

func ConfigureRegistry(ctx context.Context, rt *executor.Runtime, workspaceRoot string)

func SchedulerMaxConcurrentRunsFromEnv added in v0.3.25

func SchedulerMaxConcurrentRunsFromEnv() int

SchedulerMaxConcurrentRunsFromEnv reads AGENTLY_SCHEDULER_MAX_CONCURRENT_RUNS and returns the configured cap, or 0 (unbounded) when unset / invalid / non-positive. Serve threads the value into the scheduler service so a burst of due schedules cannot explode into thousands of parallel goroutines.

func SchedulerOptionsFromEnv

func SchedulerOptionsFromEnv() *sdk.SchedulerOptions

Types

type EmbedderFinder

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

EmbedderFinder resolves workspace embedder configs to runtime embedder clients. This mirrors modelFinder behavior and keeps plugin wiring in agently-app.

func NewEmbedderFinder

func NewEmbedderFinder(loader provider.ConfigLoader) *EmbedderFinder

func (*EmbedderFinder) Find

func (*EmbedderFinder) Ids

func (f *EmbedderFinder) Ids() []string

type ModelFinder

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

ModelFinder is a minimal llm.Finder implementation owned by agently-app. It intentionally avoids agently-core internal packages while supporting runtime model resolution from workspace loader configs.

func NewModelFinder

func NewModelFinder(loader provider.ConfigLoader) *ModelFinder

func (*ModelFinder) Find

func (f *ModelFinder) Find(ctx context.Context, id string) (llm.Model, error)

Jump to

Keyboard shortcuts

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