theprogrammablemind_4wp 8.0.0-beta.78 → 8.0.0-beta.79

Sign up to get free protection for your applications and to get access to all the features.
package/client.js CHANGED
@@ -1655,6 +1655,7 @@ const knowledgeModuleImpl = async ({
1655
1655
  let errorCount = 0
1656
1656
  for (const result of results) {
1657
1657
  if (result.hasError) {
1658
+ console.log(`FAILED ${result.utterance}`)
1658
1659
  errorCount += 1
1659
1660
  }
1660
1661
  }
package/package.json CHANGED
@@ -65,6 +65,6 @@
65
65
  "sort-json": "^2.0.0",
66
66
  "uuid": "^8.3.2"
67
67
  },
68
- "version": "8.0.0-beta.78",
68
+ "version": "8.0.0-beta.79",
69
69
  "license": "UNLICENSED"
70
70
  }
@@ -313,7 +313,7 @@ const processContextsB = async ({ config, hierarchy, semantics, generators, json
313
313
  marker: 'error',
314
314
  context,
315
315
  text: e ? e.toString() : 'not available',
316
- reason: e.reason,
316
+ reason: e.error ? e.error[0] : e.reason,
317
317
  error: e.stack || e.error
318
318
  })
319
319
  if (rebuildingTemplate) {
@@ -408,7 +408,7 @@ const loadInstance = async (config, instance) => {
408
408
  // used to do a CLONE
409
409
  config.addInternal(instance.template.configs[i], { uuid, addFirst: true, handleCalculatedProps: true })
410
410
  } else if (results.apply) {
411
- const objects = config.get('objects')
411
+ const objects = getObjects(config.get('objects'))(config.uuid)
412
412
  const args = { objects, getObjects: getObjects(objects) }
413
413
  if (instance.configs) {
414
414
  args.isInstance = `instance${i}`