mirror of
https://github.com/openai/codex.git
synced 2026-10-23 18:08:45 +00:00
codex: fix CI failure on PR #26834
This commit is contained in:
@@ -5174,7 +5174,10 @@ impl GlobalInstructionsContributor for CountingGlobalInstructionsContributor {
|
||||
fn contribute(&self) -> GlobalInstructionsFuture<'_> {
|
||||
self.calls.fetch_add(1, Ordering::SeqCst);
|
||||
Box::pin(std::future::ready(Ok(GlobalInstructions {
|
||||
instructions: vec![GlobalInstruction::new("refreshed instructions", None)],
|
||||
instructions: vec![GlobalInstruction::new(
|
||||
"refreshed instructions",
|
||||
/*source*/ None,
|
||||
)],
|
||||
warnings: Vec::new(),
|
||||
})))
|
||||
}
|
||||
|
||||
@@ -246,7 +246,7 @@ impl TestGlobalInstructionsContributor {
|
||||
|
||||
pub fn static_instructions(contents: impl Into<String>) -> Self {
|
||||
Self::new(vec![Ok(GlobalInstructions {
|
||||
instructions: vec![GlobalInstruction::new(contents, None)],
|
||||
instructions: vec![GlobalInstruction::new(contents, /*source*/ None)],
|
||||
warnings: Vec::new(),
|
||||
})])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user