config

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyModelOverrides added in v1.7.0

func ApplyModelOverrides(cfg *v2.Config, overrides []string) error

ApplyModelOverrides applies CLI model overrides to the configuration

func LoadConfig added in v1.6.4

func LoadConfig(path string, fs filesystem.FS) (*latest.Config, error)

func LoadConfigSecureDeprecated added in v1.6.4

func LoadConfigSecureDeprecated(path, allowedDir string) (*latest.Config, error)

func ValidatePathInDirectory

func ValidatePathInDirectory(path, allowedDir string) (string, error)

Types

type RuntimeConfig added in v1.0.5

type RuntimeConfig struct {
	EnvFiles       []string
	ModelsGateway  string
	RedirectURI    string
	GlobalCodeMode bool
	WorkingDir     string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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