Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureLLMSpy ¶
ConfigureLLMSpy enables a cloud provider in the llmspy gateway. It patches the llms-secrets Secret with the API key, enables the provider in the llmspy-config ConfigMap, and restarts the deployment.
func GetProviderStatus ¶
func GetProviderStatus(cfg *config.Config) (map[string]ProviderStatus, error)
GetProviderStatus reads llmspy ConfigMap + Secret and returns global provider status.
Types ¶
type ProviderStatus ¶
type ProviderStatus struct {
Enabled bool
HasAPIKey bool
EnvVar string // environment variable name (e.g. ANTHROPIC_API_KEY)
}
ProviderStatus captures effective global llmspy provider state.
Click to show internal directories.
Click to hide internal directories.