Documentation ¶
Index ¶
- Variables
- func Agent(ctx context.Context, db kclient.Client, agent *v1.Agent, oauthServerURL string, ...) (_ []gptscript.ToolDef, extraEnv []string, _ error)
- func IsExternalTool(tool string) bool
- 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 IsExternalTool ¶
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.