Documentation
¶
Overview ¶
filepath: /Users/wmaxwell/code/obot-platform/obot/pkg/cli/obots.go
Index ¶
- func New() *cobra.Command
- type Agents
- type Catalog
- type Create
- type CreateObot
- type Credentials
- type CredentialsDelete
- type Debug
- type Delete
- type DeleteObot
- type Edit
- type EmailReceivers
- type Invoke
- type Obot
- type Obots
- type RunPrint
- type Runs
- type Server
- type Tasks
- type ThreadPrint
- type Threads
- type Token
- type ToolRegister
- type ToolUnregister
- type ToolUpdate
- type Tools
- type Update
- type Version
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Agents ¶
type Catalog ¶ added in v0.8.0
type Catalog struct { Quiet bool `usage:"Only print IDs of catalog obots" short:"q"` Wide bool `usage:"Print more information" short:"w"` Output string `usage:"Output format (table, json, yaml)" short:"o" default:"table"` // contains filtered or unexported fields }
Catalog implements the 'obot catalog' command
type Create ¶
type Create struct { Quiet bool `usage:"Only print ID after successful creation." short:"q"` // contains filtered or unexported fields }
type CreateObot ¶ added in v0.8.0
type CreateObot struct { CatalogID string `usage:"ID of the base agent (catalog) to use for creating the obot" short:"c"` Name string `usage:"Name for the new obot" short:"n"` ObotID string `usage:"ID of an existing obot to copy directly" short:"i"` // contains filtered or unexported fields }
CreateObot implements the 'obot obot create' subcommand
func (*CreateObot) Customize ¶ added in v0.8.0
func (c *CreateObot) Customize(cmd *cobra.Command)
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 DeleteObot ¶ added in v0.8.0
type DeleteObot struct { Force bool `usage:"Skip confirmation prompt" short:"f"` // contains filtered or unexported fields }
DeleteObot implements the 'obot obot rm' subcommand
func (*DeleteObot) Customize ¶ added in v0.8.0
func (c *DeleteObot) 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 EmailReceivers ¶
type EmailReceivers struct { Quiet bool `usage:"Only print IDs of agents" short:"q"` Wide bool `usage:"Print more information" short:"w"` Output string `usage:"Output format (table, json, yaml)" short:"o" default:"table"` // contains filtered or unexported fields }
func (*EmailReceivers) Customize ¶
func (l *EmailReceivers) Customize(cmd *cobra.Command)
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 Obots ¶ added in v0.8.0
type Obots struct { Quiet bool `usage:"Only print IDs of obots" short:"q"` Wide bool `usage:"Print more information" short:"w"` Output string `usage:"Output format (table, json, yaml)" short:"o" default:"table"` All bool `usage:"List all obots (admin only)" short:"a"` // contains filtered or unexported fields }
type RunPrint ¶
type Runs ¶
type Runs struct { Wide bool `usage:"Print more information" short:"w"` Quiet bool `usage:"Only print IDs of runs" short:"q"` Output string `usage:"Output format (table, json, yaml)" short:"o" default:"table"` Follow bool `usage:"Follow the output of runs" short:"f"` // contains filtered or unexported fields }
type Tasks ¶ added in v0.8.0
type Tasks struct { Quiet bool `usage:"Only print IDs of tasks" short:"q"` Wide bool `usage:"Print more information" short:"w"` Output string `usage:"Output format (table, json, yaml)" short:"o" default:"table"` ThreadID string `usage:"Filter tasks by Thread ID" short:"t"` AssistantID string `usage:"Filter tasks by Assistant ID" short:"a"` ProjectID string `usage:"Filter tasks by Project (Obot) ID" short:"p"` NoRuns bool `usage:"Don't fetch run counts (faster)" short:"n"` MaxTasks int `usage:"Maximum number of tasks to process per thread" default:"10"` All bool `usage:"List all tasks (admin only)" short:"A"` // contains filtered or unexported fields }
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 ToolRegister ¶
type ToolRegister struct { Quiet bool `usage:"Only print IDs of created tool references:" short:"q"` // contains filtered or unexported fields }
func (*ToolRegister) Customize ¶
func (l *ToolRegister) Customize(cmd *cobra.Command)
type ToolUnregister ¶
type ToolUnregister struct { Quiet bool `usage:"Only print IDs of unregistered tool references" short:"q"` // contains filtered or unexported fields }
func (*ToolUnregister) Customize ¶
func (l *ToolUnregister) Customize(cmd *cobra.Command)
type ToolUpdate ¶
type ToolUpdate struct { Quiet bool `usage:"Only print IDs of updated step template" short:"q"` // contains filtered or unexported fields }
func (*ToolUpdate) Customize ¶
func (l *ToolUpdate) Customize(cmd *cobra.Command)
type Tools ¶
Source Files
¶
- agents.go
- catalog.go
- create.go
- credentials.go
- credentials_delete.go
- edit.go
- emailreceiver.go
- invoke.go
- obots.go
- obots_create.go
- obots_rm.go
- output.go
- rm.go
- root.go
- run_debug.go
- run_print.go
- runs.go
- server.go
- table.go
- tasks.go
- threadprint.go
- threads.go
- token.go
- tools.go
- tools_register.go
- tools_unregister.go
- tools_update.go
- update.go
- version.go
Click to show internal directories.
Click to hide internal directories.