Documentation ¶
Index ¶
- type Handler
- func (h *Handler) BackPopulateModels(req router.Request, _ router.Response) error
- func (h *Handler) CleanupModelProvider(req router.Request, _ router.Response) error
- func (h *Handler) EnsureOpenAIEnvCredentialAndDefaults(ctx context.Context, c client.Client) error
- func (h *Handler) PollRegistry(ctx context.Context, c client.Client)
- func (h *Handler) Populate(req router.Request, resp router.Response) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func New ¶
func New(gptClient *gptscript.GPTScript, dispatcher *dispatcher.Dispatcher, registryURL string) *Handler
func (*Handler) BackPopulateModels ¶ added in v0.3.0
func (*Handler) CleanupModelProvider ¶ added in v0.3.0
func (*Handler) EnsureOpenAIEnvCredentialAndDefaults ¶ added in v0.3.0
Click to show internal directories.
Click to hide internal directories.