Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions packages/types/src/flags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -193,12 +189,6 @@ export const RUNTIME_FLAG_META: Record<keyof RuntimeFlags, RuntimeFlagMeta> = {
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",
Expand Down
1 change: 0 additions & 1 deletion packages/unified-server/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 0 additions & 4 deletions packages/unified-server/src/flags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
10 changes: 0 additions & 10 deletions packages/visual-editor/src/a2/agent/agent-function-configurator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -121,15 +120,6 @@ function createAgentConfigurator(
groups.push(getNoUiFunctionGroup());
}

if (runtimeFlags?.enableGoogleDriveTools) {
groups.push(
getGoogleDriveFunctionGroup({
fileSystem: deps.fileSystem,
moduleArgs,
})
);
}

return groups;
};
}
2 changes: 1 addition & 1 deletion packages/visual-editor/src/a2/agent/loop-setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ const DEFAULT_FLAG_VALUES: RuntimeFlags = {
opalAdk: false,
outputTemplates: false,
googleOne: false,
enableGoogleDriveTools: false,
enableResumeAgentRun: false,
enableNotebookLm: false,
enableGraphEditorAgent: false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ export const defaultRuntimeFlags: RuntimeFlags = {
mcp: false,
opalAdk: false,
outputTemplates: false,
enableGoogleDriveTools: false,
enableNotebookLm: false,
enableResumeAgentRun: false,
enableGraphEditorAgent: false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ function makeRuntimeConfig(
outputTemplates: false,
googleOne: false,

enableGoogleDriveTools: false,
enableResumeAgentRun: false,
enableNotebookLm: false,
enableGraphEditorAgent: false,
Expand Down Expand Up @@ -77,7 +76,6 @@ const testFlags: RuntimeFlags = {
outputTemplates: false,
googleOne: false,

enableGoogleDriveTools: false,
enableResumeAgentRun: false,
enableNotebookLm: false,
enableGraphEditorAgent: false,
Expand Down