multica-ai/multica · error
--path is required
Error message
--path is required
What it means
Error "--path is required" thrown in multica-ai/multica.
Source
Thrown at server/cmd/multica/cmd_runtime_profile.go:297
msg = "profile still has active agents bound to it"
}
return fmt.Errorf("cannot delete runtime profile %s: %s", profileID, msg)
}
return fmt.Errorf("delete runtime profile: %w", err)
}
fmt.Printf("Deleted runtime profile %s\n", profileID)
return nil
}
func runRuntimeProfileSetPath(cmd *cobra.Command, args []string) error {
if err := requireHumanLocalCommand("runtime profile set-path"); err != nil {
return err
}
profileID := args[0]
path, _ := cmd.Flags().GetString("path")
path = strings.TrimSpace(path)
if path == "" {
return fmt.Errorf("--path is required")
}
if !filepath.IsAbs(path) {
return fmt.Errorf("--path must be an absolute path, got %q", path)
}
profile := resolveProfile(cmd)
cfg, err := cli.LoadCLIConfigForProfile(profile)
if err != nil {
return fmt.Errorf("load CLI config: %w", err)
}
if cfg.ProfileCommandOverrides == nil {
cfg.ProfileCommandOverrides = map[string]string{}
}
cfg.ProfileCommandOverrides[profileID] = path
if err := cli.SaveCLIConfigForProfile(cfg, profile); err != nil {
return fmt.Errorf("save CLI config: %w", err)
}
fmt.Printf("Pinned runtime profile %s to %s on this machine.\n", profileID, path)View on GitHub (pinned to 2c0912b6ec)
Solutions
- Pass --path with the profile path.
When it happens
Trigger: Thrown at server/cmd/multica/cmd_runtime_profile.go:297 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of multica-ai/multica@2c0912b6ec (2026-08-15).
Data as JSON: /api/errors/5a502b954e536723.
Report an issue: GitHub.