Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

remove porcupine model slug (#6580)

Ahmed Ibrahimb1979b70a89d
diff --git a/codex-rs/core/src/model_family.rs b/codex-rs/core/src/model_family.rs
index 9e3b25370f..0d904a8a82 100644
--- a/codex-rs/core/src/model_family.rs
+++ b/codex-rs/core/src/model_family.rs
@@ -127,8 +127,6 @@ pub fn find_family_for_model(slug: &str) -> Option<ModelFamily> {
model_family!(slug, "gpt-4o", needs_special_apply_patch_instructions: true)
} else if slug.starts_with("gpt-3.5") {
model_family!(slug, "gpt-3.5", needs_special_apply_patch_instructions: true)
- } else if slug.starts_with("porcupine") {
- model_family!(slug, "porcupine", shell_type: ConfigShellToolType::UnifiedExec)
} else if slug.starts_with("test-gpt-5-codex") {
model_family!(
slug, slug,
diff --git a/codex-rs/core/src/tools/spec.rs b/codex-rs/core/src/tools/spec.rs
index 0a9fefdde8..ab201889ad 100644
--- a/codex-rs/core/src/tools/spec.rs
+++ b/codex-rs/core/src/tools/spec.rs
@@ -1366,23 +1366,6 @@ mod tests {
);
}
- #[test]
- fn test_porcupine_defaults() {
- assert_model_tools(
- "porcupine",
- &Features::with_defaults(),
- &[
- "exec_command",
- "write_stdin",
- "list_mcp_resources",
- "list_mcp_resource_templates",
- "read_mcp_resource",
- "update_plan",
- "view_image",
- ],
- );
- }
-
#[test]
fn test_codex_mini_unified_exec_web_search() {
assert_model_tools(