Defines a CRD for managing AI model providers in a Kubernetes cluster, tracking configuration status and available models.
// Source: https://github.com/obot-platform/obot | License: MIT | Copyright 2026 Obot AI, Inc
// Provided via justclaw.it.com; keep this notice with the code.
package v1
import (
"github.com/obot-platform/obot/apiclient/types"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
type ModelProvider struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata"`
Spec ModelProviderSpec `json:"spec"`
Status ModelProviderStatus `json:"status"`
}
type ModelProviderSpec struct {
types.ModelProviderManifest `json:",inline"`
}
type ModelProviderStatus struct {
Configured bool `json:"configured"`
MissingConfigurationParameters []string `json:"missingConfigurationParameters,omi
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key