Skip to content

Commit cefe28d

Browse files
committed
fix(playground, template): import agents from @databricks/appkit/beta
agents, createAgent, fromPlugin, tool and all agent-related exports are now under the beta subpath. Update the dev-playground server and the template helper to import from @databricks/appkit/beta.
1 parent 137d12a commit cefe28d

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

apps/dev-playground/server/index.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
11
import "reflect-metadata";
22
import {
3-
agents,
43
analytics,
5-
createAgent,
64
createApp,
75
type FilePolicy,
86
files,
9-
fromPlugin,
107
genie,
118
PolicyDeniedError,
129
server,
1310
serving,
14-
tool,
1511
WRITE_ACTIONS,
1612
} from "@databricks/appkit";
13+
import { agents, createAgent, fromPlugin, tool } from "@databricks/appkit/beta";
1714
import { WorkspaceClient } from "@databricks/sdk-experimental";
1815
import { z } from "zod";
1916
import { lakebaseExamples } from "./lakebase-examples-plugin";

template/server/agents/helper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{if .plugins.agents -}}
2-
import { createAgent, tool } from '@databricks/appkit';
2+
import { createAgent, tool } from '@databricks/appkit/beta';
33
import { z } from 'zod';
44

55
/**

0 commit comments

Comments
 (0)