Keep installed models, chat selection, and web enablement in sync

This commit is contained in:
Mark Gregory
2026-11-17 09:40:46 +00:00
parent 1d5edbc292
commit 4ad93b383b
5 changed files with 52 additions and 22 deletions
+3
View File
@@ -775,6 +775,9 @@ final class MultipleToolsetsTests: XCTestCase {
afterDisable.restoreToolsets(defaults: defaults)
try await waitUntil { afterDisable.activeToolsets.map(\.id) == [.web] }
XCTAssertNil(afterDisable.mcpConnections[.profile("enabled")])
defaults.set(false, forKey: "builtInWebEnabled")
afterDisable.restoreToolsets(defaults: defaults)
XCTAssertNil(afterDisable.mcpConnections[.web])
}
@MainActor