story-kit: merge 339_story_web_ui_agent_assignment_dropdown_on_work_items

This commit is contained in:
Dave
2026-03-20 09:05:28 +00:00
parent 134cae216a
commit 81e822642e
6 changed files with 140 additions and 3 deletions

View File

@@ -37,6 +37,7 @@ struct AgentInfoResponse {
struct AgentConfigInfoResponse {
name: String,
role: String,
stage: Option<String>,
model: Option<String>,
allowed_tools: Option<Vec<String>>,
max_turns: Option<u32>,
@@ -275,6 +276,7 @@ impl AgentsApi {
.map(|a| AgentConfigInfoResponse {
name: a.name.clone(),
role: a.role.clone(),
stage: a.stage.clone(),
model: a.model.clone(),
allowed_tools: a.allowed_tools.clone(),
max_turns: a.max_turns,
@@ -304,6 +306,7 @@ impl AgentsApi {
.map(|a| AgentConfigInfoResponse {
name: a.name.clone(),
role: a.role.clone(),
stage: a.stage.clone(),
model: a.model.clone(),
allowed_tools: a.allowed_tools.clone(),
max_turns: a.max_turns,