huskies: merge 962
This commit is contained in:
@@ -141,9 +141,8 @@ pub(super) async fn tool_reject_qa(args: &Value, ctx: &AppContext) -> Result<Str
|
||||
|
||||
// Restart the coder agent with rejection context.
|
||||
// Agent name comes from the CRDT WorkItem register (story 929).
|
||||
let agent_name =
|
||||
crate::crdt_state::read_item(story_id).and_then(|w| w.agent().map(str::to_string));
|
||||
let agent_name = agent_name.as_deref().unwrap_or("coder-opus");
|
||||
let agent_name = crate::crdt_state::read_item(story_id).and_then(|w| w.agent());
|
||||
let agent_name = agent_name.map_or("coder-opus", |a| a.as_str());
|
||||
|
||||
let context = format!(
|
||||
"\n\n---\n## QA Rejection\n\
|
||||
|
||||
Reference in New Issue
Block a user