Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GatherEnvVarsForModels ¶
func GatherEnvVarsForTools ¶
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.
Click to show internal directories.
Click to hide internal directories.