toolreference

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

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 (h *Handler) BackPopulateModels(req router.Request, _ router.Response) error

func (*Handler) CleanupModelProvider added in v0.3.0

func (h *Handler) CleanupModelProvider(req router.Request, _ router.Response) error

func (*Handler) EnsureOpenAIEnvCredentialAndDefaults added in v0.3.0

func (h *Handler) EnsureOpenAIEnvCredentialAndDefaults(ctx context.Context, c client.Client) error

func (*Handler) PollRegistry

func (h *Handler) PollRegistry(ctx context.Context, c client.Client)

func (*Handler) Populate

func (h *Handler) Populate(req router.Request, resp router.Response) error

Jump to

Keyboard shortcuts

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