toolinfo

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2025 License: Apache-2.0 Imports: 10 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(gptscript *gptscript.GPTScript) *Handler

func (*Handler) SetToolInfoStatus

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

SetToolInfoStatus will set the tool information for the object. This includes credential information, and whether those credentials exist. This handler should be used with the generationed.UpdateObservedGeneration to ensure that the processing is correctly reported to through the API.

Jump to

Keyboard shortcuts

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