@axiom-lattice/examples-deep_research 1.0.30 → 1.0.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/index.ts CHANGED
@@ -319,18 +319,16 @@ skillLatticeManager.configureStore("default");
319
319
 
320
320
 
321
321
 
322
- // // Create and initialize AssistantStore with connection string
323
- // const assistantStore = new PostgreSQLAssistantStore({
324
- // poolConfig: process.env.DATABASE_URL || "",
325
- // });
326
-
327
- // // Ensure initialization (migrations run automatically)
328
- // assistantStore.initialize();
329
-
330
- // // Register to StoreLatticeManager
331
- // storeLatticeManager.removeLattice("default", "assistant");
322
+ // Create and initialize AssistantStore with connection string
323
+ const assistantStore = new PostgreSQLAssistantStore({
324
+ poolConfig: process.env.DATABASE_URL || "",
325
+ autoMigrate: true,
326
+ });
332
327
 
333
- // registerStoreLattice("default", "assistant", assistantStore);
328
+ // Register to StoreLatticeManager
329
+ storeLatticeManager.removeLattice("default", "assistant");
330
+ registerStoreLattice("default", "assistant", assistantStore);
331
+ console.log("PostgreSQL AssistantStore initialized with auto-migration");
334
332
 
335
333
 
336
334