symposium 0.14.15 → 0.14.16

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.
Files changed (2) hide show
  1. package/Symposium.js +5 -3
  2. package/package.json +1 -1
package/Symposium.js CHANGED
@@ -29,7 +29,7 @@ export default class Symposium {
29
29
  * - async get(key)
30
30
  * - async set(key, value)
31
31
  */
32
- static async init(storage) {
32
+ static async init(storage = null) {
33
33
  this.loadModel(new Gpt35());
34
34
  this.loadModel(new Gpt4());
35
35
  this.loadModel(new Gpt4Turbo());
@@ -52,8 +52,10 @@ export default class Symposium {
52
52
 
53
53
  this.loadModel(new Grok4());
54
54
 
55
- this.storage = storage;
56
- await this.storage.init();
55
+ if (storage) {
56
+ this.storage = storage;
57
+ await this.storage.init();
58
+ }
57
59
  }
58
60
 
59
61
  static loadModel(model) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "symposium",
4
- "version": "0.14.15",
4
+ "version": "0.14.16",
5
5
  "description": "Agents",
6
6
  "main": "index.js",
7
7
  "author": "Domenico Giambra",