AgentHelpList returns a newline-separated bulleted list of agents for help text.
()
| 372 | |
| 373 | // AgentHelpList returns a newline-separated bulleted list of agents for help text. |
| 374 | func AgentHelpList() string { |
| 375 | lines := make([]string, len(Agents)) |
| 376 | for i, h := range Agents { |
| 377 | lines[i] = fmt.Sprintf(" - %s (%s)", h.Name, h.ID) |
| 378 | } |
| 379 | return strings.Join(lines, "\n") |
| 380 | } |
| 381 | |
| 382 | // AgentNames returns the display names of all agents for prompting. |
| 383 | func AgentNames() []string { |