You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// ProviderSpec defines the desired state of LLM provider.
452
455
// +kubebuilder:validation:XValidation:message="'deploymentName' must be specified for 'azure_openai' provider",rule="self.type != \"azure_openai\" || self.deploymentName != \"\""
453
456
// +kubebuilder:validation:XValidation:message="'projectID' must be specified for 'watsonx' provider",rule="self.type != \"watsonx\" || self.projectID != \"\""
457
+
// +kubebuilder:validation:XValidation:message="'providerType' and 'config' must be used together in llamaStackGeneric mode",rule="!has(self.providerType) || has(self.config)"
458
+
// +kubebuilder:validation:XValidation:message="'config' requires 'providerType' to be set",rule="!has(self.config) || has(self.providerType)"
// +kubebuilder:validation:XValidation:message="credentialKey must not be empty or whitespace",rule="!has(self.credentialKey) || !self.credentialKey.matches('^[ \\t\\n\\r]*$')"
Copy file name to clipboardExpand all lines: bundle/manifests/lightspeed-operator.clusterserviceversion.yaml
+22-1Lines changed: 22 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -81,7 +81,9 @@ spec:
81
81
- description: The name of the secret object that stores API provider credentials
82
82
displayName: Credential Secret
83
83
path: llm.providers[0].credentialsSecretRef
84
-
- description: 'Feature Gates holds list of features to be enabled explicitly, otherwise they are disabled by default. possible values: MCPServer, ToolFiltering'
84
+
- description: |-
85
+
Feature Gates holds list of features to be enabled explicitly, otherwise they are disabled by default.
86
+
possible values: MCPServer, ToolFiltering
85
87
displayName: Feature Gates
86
88
path: featureGates
87
89
- displayName: LLM Settings
@@ -91,6 +93,19 @@ spec:
91
93
- description: API Version for Azure OpenAI provider
92
94
displayName: Azure OpenAI API Version
93
95
path: llm.providers[0].apiVersion
96
+
- description: |-
97
+
Arbitrary configuration for the provider (Llama Stack Generic mode only)
98
+
This map is passed directly to Llama Stack provider configuration.
99
+
Credentials are automatically injected as environment variable substitutions.
0 commit comments