feat: profile解決とmodel catalogを更新
This commit is contained in:
@@ -363,7 +363,6 @@ mod tests {
|
||||
display_name: "label".to_string(),
|
||||
singleton_key: None,
|
||||
tags: Vec::new(),
|
||||
role: None,
|
||||
profile: profile.map(str::to_string),
|
||||
workspace: BackendWorkerWorkspaceSummary {
|
||||
visibility: "workspace".to_string(),
|
||||
|
||||
@@ -2782,7 +2782,7 @@ fn dashboard_ticket_intake_finish_success_clears_composer_and_reports_pod() {
|
||||
implementation_worktree_root: PathBuf::from("/tmp/workspace/.worktree"),
|
||||
role: TicketRole::Intake,
|
||||
worker_name: "intake-worker".to_string(),
|
||||
profile: "builtin:default".to_string(),
|
||||
profile: "builtin:companion".to_string(),
|
||||
launch_prompt_ref: None,
|
||||
run_segments: vec![],
|
||||
},
|
||||
|
||||
@@ -699,10 +699,10 @@ description = "Project coder"
|
||||
.unwrap();
|
||||
|
||||
let (choices, default_index) = profile_choices_for_cwd(&project);
|
||||
assert_eq!(choices[0].selector.as_deref(), Some("builtin:default"));
|
||||
assert_eq!(choices[0].selector.as_deref(), Some("builtin:companion"));
|
||||
assert_eq!(
|
||||
choices[0].label,
|
||||
"builtin:default — Bundled default Yoi coding profile"
|
||||
"builtin:companion — Bundled Companion role profile"
|
||||
);
|
||||
let project_index = choices
|
||||
.iter()
|
||||
|
||||
Reference in New Issue
Block a user