fix(TUI): enable general (sub-) agent for @ referencing (#1705)

This commit is contained in:
Timo Clasen 2025-08-08 12:36:55 +02:00 committed by GitHub
parent 063d67a046
commit e444d15b57
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -45,7 +45,7 @@ func (cg *agentsContextGroup) GetChildEntries(
if query != "" && !strings.Contains(strings.ToLower(agent.Name), strings.ToLower(query)) {
continue
}
if agent.Mode == opencode.AgentModePrimary || agent.Name == "general" {
if agent.Mode == opencode.AgentModePrimary {
continue
}