File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
integrations/appkit-agent
playground/default-ui/server Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ await createApp({
1313 backend : "agent" ,
1414 // Uncomment this to use a local PostgreSQL database for persistence
1515 // pool: new pg.Pool({ connectionString: "postgres://user@localhost :5432/database" }),
16+ // autoMigrate: true
1617 } ) ,
1718 ] ,
1819} ) ;
Original file line number Diff line number Diff line change @@ -44,6 +44,8 @@ export interface ChatConfig extends BasePluginConfig {
4444 autoMigrate ?: boolean ;
4545 /** Path to mount the chat UI. Set to null to disable UI serving. Default: '/chat'. */
4646 uiPath ?: string | null ;
47+ /** Auto-create the ai_chatbot schema and tables on startup. Defaults to false. */
48+ autoMigrate ?: boolean ;
4749}
4850
4951const textPartSchema = zod . object ( {
You can’t perform that action at this time.
0 commit comments