huskies: merge 946
This commit is contained in:
@@ -103,7 +103,7 @@ pub async fn handle_assign(
|
||||
|
||||
// Story name comes from the CRDT name register (story 929).
|
||||
let story_name = crate::crdt_state::read_item(&story_id)
|
||||
.and_then(|w| w.name().map(str::to_string))
|
||||
.map(|w| w.name().to_string())
|
||||
.unwrap_or_else(|| story_id.clone());
|
||||
|
||||
let agent_name = resolve_agent_name(model_str);
|
||||
|
||||
@@ -71,7 +71,7 @@ pub async fn handle_delete(
|
||||
|
||||
// Story name comes from the CRDT name register (story 929).
|
||||
let story_name = crate::crdt_state::read_item(&story_id)
|
||||
.and_then(|w| w.name().map(str::to_string))
|
||||
.map(|w| w.name().to_string())
|
||||
.unwrap_or_else(|| story_id.clone());
|
||||
|
||||
let outcome = match crate::service::work_item::delete::delete_work_item(
|
||||
|
||||
@@ -90,7 +90,7 @@ pub async fn handle_start(
|
||||
|
||||
// Story name comes from the CRDT name register (story 929).
|
||||
let story_name = crate::crdt_state::read_item(&story_id)
|
||||
.and_then(|w| w.name().map(str::to_string))
|
||||
.map(|w| w.name().to_string())
|
||||
.unwrap_or_else(|| story_id.clone());
|
||||
|
||||
// Resolve agent name: try "coder-{hint}" first, then the hint as-is.
|
||||
|
||||
Reference in New Issue
Block a user