diff --git a/packages/types/src/flags.ts b/packages/types/src/flags.ts index c243e87e0c1..2bc526e1bee 100644 --- a/packages/types/src/flags.ts +++ b/packages/types/src/flags.ts @@ -43,10 +43,6 @@ export type RuntimeFlags = { */ outputTemplates: boolean; - /** - * Enables "export to Drive" capability for the agent - */ - enableGoogleDriveTools: boolean; /** * Enables auto-resumption of failed agent runs */ @@ -193,12 +189,6 @@ export const RUNTIME_FLAG_META: Record = { description: "Enable output templates for consistent output", visibility: "experimental", }, - - enableGoogleDriveTools: { - title: "Google Drive Tools", - description: "Enable 'export to Drive' capability", - visibility: "public", - }, enableResumeAgentRun: { title: "Resume Agent Run", description: "Enable auto-resumption of failed agent runs", diff --git a/packages/unified-server/src/config.ts b/packages/unified-server/src/config.ts index 7694e938692..afc1fb47d5e 100644 --- a/packages/unified-server/src/config.ts +++ b/packages/unified-server/src/config.ts @@ -69,7 +69,6 @@ export async function createClientConfig(opts: { opalAdk: flags.ENABLE_OPAL_ADK, outputTemplates: flags.ENABLE_OUTPUT_TEMPLATES, googleOne: flags.ENABLE_GOOGLE_ONE, - enableGoogleDriveTools: flags.ENABLE_GOOGLE_DRIVE_TOOLS, enableNotebookLm: flags.ENABLE_NOTEBOOK_LM, enableResumeAgentRun: flags.ENABLE_RESUME_AGENT_RUN, enableGraphEditorAgent: flags.ENABLE_GRAPH_EDITOR_AGENT, diff --git a/packages/unified-server/src/flags.ts b/packages/unified-server/src/flags.ts index c254d67e623..4ef362c6d8a 100644 --- a/packages/unified-server/src/flags.ts +++ b/packages/unified-server/src/flags.ts @@ -46,10 +46,6 @@ export const ENABLE_DEV_TOOLS = getBoolean("ENABLE_DEV_TOOLS"); export const ENABLE_FORCE_2D_GRAPH = getBoolean("ENABLE_FORCE_2D_GRAPH"); -export const ENABLE_GOOGLE_DRIVE_TOOLS = getBoolean( - "ENABLE_GOOGLE_DRIVE_TOOLS" -); - export const ENABLE_GOOGLE_ONE = getBoolean("ENABLE_GOOGLE_ONE"); export const ENABLE_GRAPH_EDITOR_AGENT = getBoolean( diff --git a/packages/visual-editor/src/a2/agent/agent-function-configurator.ts b/packages/visual-editor/src/a2/agent/agent-function-configurator.ts index 63c9027be17..cca9651e18b 100644 --- a/packages/visual-editor/src/a2/agent/agent-function-configurator.ts +++ b/packages/visual-editor/src/a2/agent/agent-function-configurator.ts @@ -7,7 +7,6 @@ import { ok } from "@breadboard-ai/utils"; import { A2ModuleArgs } from "../runnable-module-factory.js"; import type { FunctionGroupConfigurator } from "./types.js"; -import { getGoogleDriveFunctionGroup } from "./functions/google-drive.js"; import { getGenerateFunctionGroup } from "./functions/generate.js"; import { getSystemFunctionGroup } from "./functions/system.js"; import { getMemoryFunctionGroup } from "./functions/memory.js"; @@ -121,15 +120,6 @@ function createAgentConfigurator( groups.push(getNoUiFunctionGroup()); } - if (runtimeFlags?.enableGoogleDriveTools) { - groups.push( - getGoogleDriveFunctionGroup({ - fileSystem: deps.fileSystem, - moduleArgs, - }) - ); - } - return groups; }; } diff --git a/packages/visual-editor/src/a2/agent/loop-setup.ts b/packages/visual-editor/src/a2/agent/loop-setup.ts index 1c9dcca8aa0..7989534b5e6 100644 --- a/packages/visual-editor/src/a2/agent/loop-setup.ts +++ b/packages/visual-editor/src/a2/agent/loop-setup.ts @@ -195,7 +195,7 @@ async function buildAgentRun(args: { const result = await getSingletonPrefixCache(moduleArgs, { useMemory: objectivePidgin.useMemory, useNotebookLM: objectivePidgin.useNotebookLM, - useGoogleDrive: runtimeFlags?.enableGoogleDriveTools ?? false, + useGoogleDrive: false, }); if (ok(result)) { singletonCachedContentName = result; diff --git a/packages/visual-editor/src/ui/config/client-deployment-configuration.ts b/packages/visual-editor/src/ui/config/client-deployment-configuration.ts index 4028d07fb9d..af628bdf326 100644 --- a/packages/visual-editor/src/ui/config/client-deployment-configuration.ts +++ b/packages/visual-editor/src/ui/config/client-deployment-configuration.ts @@ -21,7 +21,6 @@ const DEFAULT_FLAG_VALUES: RuntimeFlags = { opalAdk: false, outputTemplates: false, googleOne: false, - enableGoogleDriveTools: false, enableResumeAgentRun: false, enableNotebookLm: false, enableGraphEditorAgent: false, diff --git a/packages/visual-editor/tests/sca/controller/data/default-flags.ts b/packages/visual-editor/tests/sca/controller/data/default-flags.ts index da3229535eb..1145ea004e5 100644 --- a/packages/visual-editor/tests/sca/controller/data/default-flags.ts +++ b/packages/visual-editor/tests/sca/controller/data/default-flags.ts @@ -13,7 +13,6 @@ export const defaultRuntimeFlags: RuntimeFlags = { mcp: false, opalAdk: false, outputTemplates: false, - enableGoogleDriveTools: false, enableNotebookLm: false, enableResumeAgentRun: false, enableGraphEditorAgent: false, diff --git a/packages/visual-editor/tests/sca/environment/environment.test.ts b/packages/visual-editor/tests/sca/environment/environment.test.ts index 3b07b72086b..912e561ab2a 100644 --- a/packages/visual-editor/tests/sca/environment/environment.test.ts +++ b/packages/visual-editor/tests/sca/environment/environment.test.ts @@ -42,7 +42,6 @@ function makeRuntimeConfig( outputTemplates: false, googleOne: false, - enableGoogleDriveTools: false, enableResumeAgentRun: false, enableNotebookLm: false, enableGraphEditorAgent: false, @@ -77,7 +76,6 @@ const testFlags: RuntimeFlags = { outputTemplates: false, googleOne: false, - enableGoogleDriveTools: false, enableResumeAgentRun: false, enableNotebookLm: false, enableGraphEditorAgent: false,