Skip to content

Commit 91a1d20

Browse files
authored
use another prompt (#6912)
1 parent 87716e7 commit 91a1d20

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

codex-rs/core/src/model_family.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ const BASE_INSTRUCTIONS: &str = include_str!("../prompt.md");
1212

1313
const GPT_5_CODEX_INSTRUCTIONS: &str = include_str!("../gpt_5_codex_prompt.md");
1414
const GPT_5_1_INSTRUCTIONS: &str = include_str!("../gpt_5_1_prompt.md");
15+
const GPT_5_1_CODEX_MAX_INSTRUCTIONS: &str = include_str!("../gpt-5.1-codex-max_prompt.md");
1516

1617
/// A model family is a group of models that share certain characteristics.
1718
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
@@ -179,7 +180,7 @@ pub fn find_family_for_model(slug: &str) -> Option<ModelFamily> {
179180
slug, slug,
180181
supports_reasoning_summaries: true,
181182
reasoning_summary_format: ReasoningSummaryFormat::Experimental,
182-
base_instructions: BASE_INSTRUCTIONS.to_string(),
183+
base_instructions: GPT_5_1_CODEX_MAX_INSTRUCTIONS.to_string(),
183184
apply_patch_tool_type: Some(ApplyPatchToolType::Freeform),
184185
shell_type: ConfigShellToolType::ShellCommand,
185186
supports_parallel_tool_calls: true,

0 commit comments

Comments
 (0)