multica-ai/multica · error
decode agent skills response: %w
Error message
decode agent skills response: %w
What it means
Error "decode agent skills response: %w" thrown in multica-ai/multica.
Source
Thrown at server/cmd/multica/cmd_agent.go:1095
id = strings.TrimSpace(id)
if id != "" {
cleanIDs = append(cleanIDs, id)
}
}
return cleanIDs
}
func printAgentSkillsMutationResult(cmd *cobra.Command, agentID string, result json.RawMessage) error {
output, _ := cmd.Flags().GetString("output")
if output == "json" {
var pretty any
json.Unmarshal(result, &pretty)
return cli.PrintJSON(os.Stdout, pretty)
}
var skills []map[string]any
if err := json.Unmarshal(result, &skills); err != nil {
return fmt.Errorf("decode agent skills response: %w", err)
}
if len(skills) == 0 {
fmt.Printf("No skills assigned to agent %s\n", agentID)
return nil
}
headers := []string{"ID", "NAME", "DESCRIPTION"}
rows := make([][]string, 0, len(skills))
for _, s := range skills {
rows = append(rows, []string{
strVal(s, "id"),
strVal(s, "name"),
strVal(s, "description"),
})
}
cli.PrintTable(os.Stdout, headers, rows)
return nil
}
View on GitHub (pinned to 2c0912b6ec)
Solutions
- Check the server version compatibility; the response could not be decoded.
When it happens
Trigger: Thrown at server/cmd/multica/cmd_agent.go:1095 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/79c381668245f076.
Report an issue: GitHub.