diff --git a/cmd/picoclaw/internal/model/command.go b/cmd/picoclaw/internal/model/command.go index 771cd4bbb..cad106fd5 100644 --- a/cmd/picoclaw/internal/model/command.go +++ b/cmd/picoclaw/internal/model/command.go @@ -24,7 +24,11 @@ If a model name is provided, sets it as the default model. Examples: picoclaw model # Show current default model picoclaw model gpt-5.2 # Set gpt-5.2 as default - picoclaw model claude-sonnet-4.6 # Set claude-sonnet-4.6 as default`, + picoclaw model claude-sonnet-4.6 # Set claude-sonnet-4.6 as default + picoclaw model local-model # Set local VLLM server as default + +Note: 'local-model' is a special value for using a local VLLM server +(running at localhost:8000 by default) which does not require an API key.`, Args: cobra.MaximumNArgs(1), RunE: func(cmd *cobra.Command, args []string) error { configPath := internal.GetConfigPath() @@ -101,7 +105,7 @@ func setDefaultModel(configPath string, cfg *config.Config, modelName string) er } if !modelFound && modelName != LocalModel { - return fmt.Errorf("can not found model '%s' in config", modelName) + return fmt.Errorf("cannot found model '%s' in config", modelName) } // Update the default model