secrets

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GatherEnvVarsForModels

func GatherEnvVarsForModels(cfg *latest.Config) []string

func GatherEnvVarsForTools

func GatherEnvVarsForTools(ctx context.Context, cfg *latest.Config) ([]string, error)

func GatherMissingEnvVars

func GatherMissingEnvVars(ctx context.Context, cfg *latest.Config, env environment.Provider, runtimeConfig config.RuntimeConfig) ([]string, error)

GatherMissingEnvVars finds out which environment variables are required by the models and tools. This allows exiting early with a proper error message instead of failing later when trying to use a model or tool. TODO(dga): This code contains lots of duplication and ought to be refactored.

Types

This section is empty.

Jump to

Keyboard shortcuts

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