From 135a409f0ccb76fef4d1a5c9ad9a953b6ff22d2d Mon Sep 17 00:00:00 2001 From: Armando Trejo Oliver Date: Tue, 12 Sep 2023 15:40:26 -0700 Subject: [PATCH] Enable copilot by default (#1608) --- src/Platform/Hosted/extractFeatures.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Platform/Hosted/extractFeatures.ts b/src/Platform/Hosted/extractFeatures.ts index ed9a39205..57656b14d 100644 --- a/src/Platform/Hosted/extractFeatures.ts +++ b/src/Platform/Hosted/extractFeatures.ts @@ -108,10 +108,10 @@ export function extractFeatures(given = new URLSearchParams(window.location.sear enableLegacyMongoShellV2Debug: "true" === get("enablelegacymongoshellv2debug"), loadLegacyMongoShellFromBE: "true" === get("loadlegacymongoshellfrombe"), enablePriorityBasedThrottling: "true" === get("enableprioritybasedthrottling"), - enableCopilot: "true" === get("enablecopilot"), + enableCopilot: "true" === get("enablecopilot", "true"), copilotVersion: get("copilotversion") ?? "v1.0", disableCopilotPhoenixGateaway: "true" === get("disablecopilotphoenixgateaway"), - enableCopilotFullSchema: "false" === get("enablecopilotfullschema") ? false : true, + enableCopilotFullSchema: "true" === get("enablecopilotfullschema", "true"), }; }