mirror of
https://github.com/openai/codex.git
synced 2026-11-25 23:30:49 +00:00
codex: fix CI failure on PR #16964
This commit is contained in:
@@ -2489,8 +2489,8 @@ impl CodexMessageProcessor {
|
||||
sandbox_mode: sandbox.map(SandboxMode::to_core),
|
||||
codex_linux_sandbox_exe: self.arg0_paths.codex_linux_sandbox_exe.clone(),
|
||||
main_execve_wrapper_exe: self.arg0_paths.main_execve_wrapper_exe.clone(),
|
||||
base_instructions: thread_instruction_override(base_instructions),
|
||||
developer_instructions: thread_instruction_override(developer_instructions),
|
||||
base_instructions: base_instructions.map(Option::unwrap_or_default),
|
||||
developer_instructions: developer_instructions.map(Option::unwrap_or_default),
|
||||
personality,
|
||||
..Default::default()
|
||||
}
|
||||
@@ -7843,14 +7843,6 @@ fn normalize_thread_list_cwd_filter(
|
||||
})
|
||||
}
|
||||
|
||||
fn thread_instruction_override(instructions: Option<Option<String>>) -> Option<String> {
|
||||
match instructions {
|
||||
None => None,
|
||||
Some(None) => Some(String::new()),
|
||||
Some(Some(instructions)) => Some(instructions),
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod thread_list_cwd_filter_tests {
|
||||
use super::normalize_thread_list_cwd_filter;
|
||||
|
||||
Reference in New Issue
Block a user