mirror of
https://github.com/openai/codex.git
synced 2026-11-06 00:30:29 +00:00
Stop client from being state carrier (#10595)
I'd like to make client session wide. This requires shedding all random state it has to carry.
This commit is contained in:
1 parent
49dd67a260
commit
7f20357611
15 files changed
+127
-176
No files matched your search
@@ -144,7 +144,7 @@ pub(crate) async fn maybe_prompt_and_install_mcp_dependencies(
|
||||
return;
|
||||
}
|
||||
|
||||
let config = turn_context.client.config();
|
||||
let config = turn_context.config.clone();
|
||||
if mentioned_skills.is_empty() || !config.features.enabled(Feature::SkillMcpDependencyInstall) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user