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:
pakrym-oai authored and GitHub committed 2026-02-04 09:05:37 -08:00
1 parent 49dd67a260
commit 7f20357611
15 files changed
+127 -176

No files matched your search

+1 -1
View File
@@ -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;
}