Skip to content

Every agent's model. One place. Codex on DeepSeek, Claude Code on Kimi, from the menu bar.

agent: a stopped distro's Hermes profiles are never listed (#3924)

JoeyWu-tech41427e016bf4
diff --git a/internal/agent/hermes.go b/internal/agent/hermes.go
index 152cf8b59..cbc9a7533 100644
--- a/internal/agent/hermes.go
+++ b/internal/agent/hermes.go
@@ -343,7 +343,12 @@ var hermesProfileID = regexp.MustCompile(`^[a-z0-9][a-z0-9_-]{0,63}$`)
// HERMES_HOME under it is a profile of; a HERMES_HOME elsewhere is the root itself, or, as
// <root>/profiles/<name>, a profile of <root> (get_default_hermes_root).
// A profile with no config.yaml yet is left out: magpie doesn't make one.
+// None at a stopped distro's place, whose folder is never listed: that
+// starts it (#3896).
func hermesProfiles(at place) []string {
+ if at.cold {
+ return nil
+ }
root := hermesRoot(at)
paths := []string{filepath.Join(root, "config.yaml")}
ps := filepath.Join(root, "profiles")