We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dba7bad commit a78973eCopy full SHA for a78973e
2 files changed
integrations/appkit-agent/playground/default-ui/server/index.ts
@@ -13,6 +13,7 @@ await createApp({
13
backend: "agent",
14
// Uncomment this to use a local PostgreSQL database for persistence
15
// pool: new pg.Pool({ connectionString: "postgres://user@localhost:5432/database" }),
16
+ // autoMigrate: true
17
}),
18
],
19
});
integrations/appkit-agent/src/chat-plugin/types.ts
@@ -44,6 +44,8 @@ export interface ChatConfig extends BasePluginConfig {
44
autoMigrate?: boolean;
45
/** Path to mount the chat UI. Set to null to disable UI serving. Default: '/chat'. */
46
uiPath?: string | null;
47
+ /** Auto-create the ai_chatbot schema and tables on startup. Defaults to false. */
48
+ autoMigrate?: boolean;
49
}
50
51
const textPartSchema = zod.object({
0 commit comments