huskies: merge 962
This commit is contained in:
@@ -122,7 +122,10 @@ pub async fn handle_assign(
|
||||
|
||||
if running_coders.is_empty() {
|
||||
// No coder running — persist the CRDT agent pin for the future start.
|
||||
crate::crdt_state::set_agent(&story_id, Some(&agent_name));
|
||||
crate::crdt_state::set_agent(
|
||||
&story_id,
|
||||
agent_name.parse::<crate::config::AgentName>().ok(),
|
||||
);
|
||||
return format!(
|
||||
"Assigned **{agent_name}** to **{story_name}** (story {story_number}). \
|
||||
The model will be used when the story starts."
|
||||
|
||||
Reference in New Issue
Block a user