Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{
Use: "model",
Short: "Manage AI models",
}
Cmd is the root command for model subcommands.
Functions ¶
This section is empty.
Types ¶
type ModelCreateCmd ¶
type ModelCreateCmd struct {
exocmd.CliCommandSettings `cli-cmd:"-"`
Name string `cli-arg:"#" cli-usage:"NAME (e.g. openai/gpt-oss-120b)"`
HuggingfaceToken string `cli-flag:"huggingface-token" cli-usage:"Huggingface token if required by the model"`
Zone v3.ZoneName `cli-short:"z" cli-usage:"zone"`
// contains filtered or unexported fields
}
func (*ModelCreateCmd) CmdAliases ¶
func (c *ModelCreateCmd) CmdAliases() []string
func (*ModelCreateCmd) CmdLong ¶
func (c *ModelCreateCmd) CmdLong() string
func (*ModelCreateCmd) CmdPreRun ¶
func (c *ModelCreateCmd) CmdPreRun(cmd *cobra.Command, args []string) error
func (*ModelCreateCmd) CmdShort ¶
func (c *ModelCreateCmd) CmdShort() string
type ModelDeleteCmd ¶
type ModelDeleteCmd struct {
exocmd.CliCommandSettings `cli-cmd:"-"`
IDs []string `cli-arg:"#" cli-usage:"MODEL-ID (UUID)..."`
Force bool `cli-short:"f" cli-usage:"don't prompt for confirmation"`
Zone v3.ZoneName `cli-short:"z" cli-usage:"zone"`
// contains filtered or unexported fields
}
func (*ModelDeleteCmd) CmdAliases ¶
func (c *ModelDeleteCmd) CmdAliases() []string
func (*ModelDeleteCmd) CmdLong ¶
func (c *ModelDeleteCmd) CmdLong() string
func (*ModelDeleteCmd) CmdPreRun ¶
func (c *ModelDeleteCmd) CmdPreRun(cmd *cobra.Command, args []string) error
func (*ModelDeleteCmd) CmdShort ¶
func (c *ModelDeleteCmd) CmdShort() string
type ModelListCmd ¶
type ModelListCmd struct {
exocmd.CliCommandSettings `cli-cmd:"-"`
Zone v3.ZoneName `cli-short:"z" cli-usage:"zone"`
// contains filtered or unexported fields
}
func (*ModelListCmd) CmdAliases ¶
func (c *ModelListCmd) CmdAliases() []string
func (*ModelListCmd) CmdLong ¶
func (c *ModelListCmd) CmdLong() string
func (*ModelListCmd) CmdPreRun ¶
func (c *ModelListCmd) CmdPreRun(cmd *cobra.Command, args []string) error
func (*ModelListCmd) CmdShort ¶
func (c *ModelListCmd) CmdShort() string
type ModelListItemOutput ¶
type ModelListOutput ¶
type ModelListOutput []ModelListItemOutput
func (*ModelListOutput) ToJSON ¶
func (o *ModelListOutput) ToJSON()
func (*ModelListOutput) ToTable ¶
func (o *ModelListOutput) ToTable()
func (*ModelListOutput) ToText ¶
func (o *ModelListOutput) ToText()
type ModelShowCmd ¶
type ModelShowCmd struct {
exocmd.CliCommandSettings `cli-cmd:"-"`
ID string `cli-arg:"#" cli-usage:"MODEL-ID (UUID)"`
Zone v3.ZoneName `cli-short:"z" cli-usage:"zone"`
// contains filtered or unexported fields
}
func (*ModelShowCmd) CmdAliases ¶
func (c *ModelShowCmd) CmdAliases() []string
func (*ModelShowCmd) CmdLong ¶
func (c *ModelShowCmd) CmdLong() string
func (*ModelShowCmd) CmdPreRun ¶
func (c *ModelShowCmd) CmdPreRun(cmd *cobra.Command, args []string) error
func (*ModelShowCmd) CmdShort ¶
func (c *ModelShowCmd) CmdShort() string
type ModelShowOutput ¶
type ModelShowOutput struct {
ID v3.UUID `json:"id"`
Name string `json:"name"`
Status v3.GetModelResponseStatus `json:"status"`
ModelSize *int64 `json:"model_size"`
CreatedAt string `json:"created_at"`
UpdatedAt string `json:"updated_at"`
}
func (*ModelShowOutput) ToJSON ¶
func (o *ModelShowOutput) ToJSON()
func (*ModelShowOutput) ToTable ¶
func (o *ModelShowOutput) ToTable()
func (*ModelShowOutput) ToText ¶
func (o *ModelShowOutput) ToText()
Click to show internal directories.
Click to hide internal directories.