providers

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const CookieSecretEnvVar = "OBOT_AUTH_PROVIDER_COOKIE_SECRET"

Variables

This section is empty.

Functions

func ConvertAuthProviderToolRef

func ConvertAuthProviderToolRef(toolRef v1.ToolReference, cred map[string]string) (*types.AuthProviderStatus, error)

func ConvertModelProviderToolRef

func ConvertModelProviderToolRef(toolRef v1.ToolReference, cred map[string]string) (*types.ModelProviderStatus, error)

Types

type ProviderMeta

type ProviderMeta struct {
	types.CommonProviderMetadata
	EnvVars         []types.ProviderConfigurationParameter `json:"envVars"`
	OptionalEnvVars []types.ProviderConfigurationParameter `json:"optionalEnvVars"`
}

Jump to

Keyboard shortcuts

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