mirror of
https://github.com/openai/codex.git
synced 2026-09-16 12:13:30 +00:00
fix plugin cache poisoning on turn startup
Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
@@ -2186,11 +2186,12 @@ impl Session {
|
||||
&per_turn_config,
|
||||
)
|
||||
.await;
|
||||
// Reuse the session's resolved config for turn-time skills so plugin-backed
|
||||
// skill/plugin availability stays aligned with the session-start view.
|
||||
let skills_outcome = Arc::new(
|
||||
self.services
|
||||
.skills_manager
|
||||
.skills_for_cwd(&session_configuration.cwd, false)
|
||||
.await,
|
||||
.skills_for_config(&per_turn_config),
|
||||
);
|
||||
let mut turn_context: TurnContext = Self::make_turn_context(
|
||||
Some(Arc::clone(&self.services.auth_manager)),
|
||||
|
||||
Reference in New Issue
Block a user