 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- Variables
- func Agent(ctx context.Context, db kclient.Client, agent *v1.Agent, oauthServerURL string, ...) (_ []gptscript.ToolDef, extraEnv []string, _ error)
- func CustomTool(ctx context.Context, c client.Client, tool v1.Tool) (toolDefs []gptscript.ToolDef, _ error)
- func IsExternalTool(tool string) bool
- func OAuthAppEnv(ctx context.Context, db kclient.Client, oauthAppNames []string, ...) (extraEnv []string, _ error)
- func ResolveToolReference(ctx context.Context, c kclient.Client, toolRefType types.ToolReferenceType, ...) (string, error)
- func Workflow(ctx context.Context, c kclient.Client, wf *v1.Workflow, opts WorkflowOptions) (*v1.Agent, error)
- func WorkflowByName(ctx context.Context, db kclient.Client, namespace string) (map[string]v1.Workflow, error)
- type AgentOptions
- type WorkflowOptions
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
var DefaultAgentParams = []string{
	"message", "Message to send",
}
    Functions ¶
func CustomTool ¶ added in v0.5.0
func IsExternalTool ¶
func OAuthAppEnv ¶
func ResolveToolReference ¶
Types ¶
type AgentOptions ¶
type WorkflowOptions ¶
type WorkflowOptions struct {
	Step             *types.Step
	ManifestOverride *types.WorkflowManifest
	Input            string
}
     Click to show internal directories. 
   Click to hide internal directories.