Documentation ¶
Index ¶
- func New() *cobra.Command
- type Agents
- type Create
- type Credentials
- type CredentialsDelete
- type Debug
- type Delete
- type Edit
- type Invoke
- type Otto
- type RunPrint
- type Runs
- type Server
- type StepTemplateCreate
- type StepTemplateUpdate
- type StepTemplates
- type StepTemplatesDelete
- type ThreadPrint
- type Threads
- type Update
- type Version
- type Workflows
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Agents ¶
type Create ¶
type Create struct { Quiet bool `usage:"Only print ID after successful creation." short:"q"` Name string `usage:"Name of the agent."` Description string `usage:"Description of the agent."` Ref string `usage:"The path segment of the agent in the published URL (defaults to ID of agent)."` Tools []string `usage:"List of tools the agent can use."` Steps []string `usage:"The steps for a workflow."` Output string `usage:"The output for a workflow."` Params map[string]string `usage:"The parameters for the agent." hidden:"true"` File string `usage:"The file to read the agent manifest from." short:"f"` Replace bool `usage:"If loading from file, replace the agent with the same refName if it exists." short:"r"` // contains filtered or unexported fields }
type Credentials ¶
type Credentials struct { Wide bool `usage:"Print more information" short:"w"` Quiet bool `usage:"Only print IDs of credentials" short:"q"` ThreadID string `usage:"Specific thread list credentials for" short:"t"` // contains filtered or unexported fields }
func (*Credentials) Customize ¶
func (l *Credentials) Customize(cmd *cobra.Command)
type CredentialsDelete ¶
type CredentialsDelete struct { Quiet bool `usage:"Only print IDs of credentials" short:"q"` // contains filtered or unexported fields }
func (*CredentialsDelete) Customize ¶
func (l *CredentialsDelete) Customize(cmd *cobra.Command)
type Edit ¶
type Edit struct { Prompt bool `usage:"Edit just the prompt for the agent" short:"p"` // contains filtered or unexported fields }
type Invoke ¶
type Invoke struct { Thread string `usage:"Thread name to run the agent in." short:"t"` Step string `usage:"Workflow step to rerun from, thread is already required" short:"s"` Quiet *bool `usage:"Only print output characters" short:"q"` Verbose bool `usage:"Print more information" short:"v"` Async bool `usage:"Run the agent asynchronously" short:"a"` // contains filtered or unexported fields }
type RunPrint ¶
type Runs ¶
type StepTemplateCreate ¶
type StepTemplateCreate struct { Quiet bool `usage:"Only print IDs of created step template" short:"q"` // contains filtered or unexported fields }
func (*StepTemplateCreate) Customize ¶
func (l *StepTemplateCreate) Customize(cmd *cobra.Command)
type StepTemplateUpdate ¶
type StepTemplateUpdate struct { Quiet bool `usage:"Only print IDs of updated step template" short:"q"` // contains filtered or unexported fields }
func (*StepTemplateUpdate) Customize ¶
func (l *StepTemplateUpdate) Customize(cmd *cobra.Command)
type StepTemplates ¶
type StepTemplates struct { Quiet bool `usage:"Only print IDs of tools" short:"q"` // contains filtered or unexported fields }
func (*StepTemplates) Customize ¶
func (l *StepTemplates) Customize(cmd *cobra.Command)
type StepTemplatesDelete ¶
type StepTemplatesDelete struct { Quiet bool `usage:"Only print IDs of deleted step templates" short:"q"` // contains filtered or unexported fields }
func (*StepTemplatesDelete) Customize ¶
func (l *StepTemplatesDelete) Customize(cmd *cobra.Command)
type ThreadPrint ¶
type ThreadPrint struct { Quiet bool `usage:"Only print response content of threads" short:"q"` Follow bool `usage:"Follow the thread and print new events" short:"f"` Verbose bool `usage:"Print more information" short:"v"` // contains filtered or unexported fields }
func (*ThreadPrint) Customize ¶
func (l *ThreadPrint) Customize(cmd *cobra.Command)
type Threads ¶
type Update ¶
type Update struct { Quiet bool `usage:"Only print IDs of updated agent/workflow" short:"q"` // contains filtered or unexported fields }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.