story-kit: merge 176_bug_stories_moved_to_current_get_supervisor_instead_of_coder

This commit is contained in:
Dave
2026-02-25 09:30:15 +00:00
parent 553b21f7b5
commit d70285adda
3 changed files with 176 additions and 3 deletions

View File

@@ -351,8 +351,10 @@ impl AgentPool {
name.to_string()
}
None => config
.default_agent()
.ok_or_else(|| "No agents configured".to_string())?
.default_coder_agent()
.ok_or_else(|| {
"No coder agent configured. Specify an agent_name explicitly.".to_string()
})?
.name
.clone(),
};