huskies: merge 967

This commit is contained in:
dave
2026-05-13 12:39:47 +00:00
parent 40ea100eae
commit 93f774fcbb
9 changed files with 165 additions and 0 deletions
+8
View File
@@ -560,6 +560,8 @@ mod tests {
app_ctx: Some(test_app_ctx()),
session_id_to_resume: None,
fresh_prompt: None,
project_root: std::path::PathBuf::from("/tmp/project"),
model: String::new(),
};
assert_eq!(build_system_text(&ctx), "Custom system prompt");
@@ -578,6 +580,8 @@ mod tests {
app_ctx: Some(test_app_ctx()),
session_id_to_resume: None,
fresh_prompt: None,
project_root: std::path::PathBuf::from("/tmp/project"),
model: String::new(),
};
let text = build_system_text(&ctx);
@@ -629,6 +633,8 @@ mod tests {
app_ctx: Some(test_app_ctx()),
session_id_to_resume: None,
fresh_prompt: None,
project_root: std::path::PathBuf::from("/tmp/project"),
model: String::new(),
};
assert!(ctx.command.starts_with("gpt"));
}
@@ -646,6 +652,8 @@ mod tests {
app_ctx: Some(test_app_ctx()),
session_id_to_resume: None,
fresh_prompt: None,
project_root: std::path::PathBuf::from("/tmp/project"),
model: String::new(),
};
assert!(ctx.command.starts_with("o"));
}