theprogrammablemind 7.7.0-beta.7 → 7.7.0-beta.9
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/client.js +8 -3
- package/package.json +1 -1
package/client.js
CHANGED
@@ -169,6 +169,7 @@ const setupArgs = (args, config, logs, hierarchy) => {
|
|
169
169
|
apis: getAPIs(uuid)
|
170
170
|
}
|
171
171
|
}
|
172
|
+
Object.assign(args, args.getUUIDScoped(this.uuid))
|
172
173
|
args.breakOnSemantics = false
|
173
174
|
args.theDebugger = {
|
174
175
|
breakOnSemantics: (value) => args.breakOnSemantics = value
|
@@ -1195,9 +1196,9 @@ const defaultInnerProcess = (config, errorHandler, responses) => {
|
|
1195
1196
|
}
|
1196
1197
|
|
1197
1198
|
if (responses.explain_priorities) {
|
1198
|
-
console.log("Explain Priorities
|
1199
|
-
for ([
|
1200
|
-
console.log(` ${JSON.stringify(
|
1199
|
+
console.log("Explain Priorities")
|
1200
|
+
for ([inputs, output, reason] of responses.explain_priorities) {
|
1201
|
+
console.log(` inputs: ${JSON.stringify(inputs)} output: ${JSON.stringify(output)} reason: ${reason}`)
|
1201
1202
|
}
|
1202
1203
|
}
|
1203
1204
|
const objects = config.get('objects').namespaced[config.uuid]
|
@@ -1643,6 +1644,10 @@ const knowledgeModuleImpl = async ({
|
|
1643
1644
|
config.config.debug = true
|
1644
1645
|
}
|
1645
1646
|
|
1647
|
+
if (args.reset) {
|
1648
|
+
config.config.skip_cache = true
|
1649
|
+
}
|
1650
|
+
|
1646
1651
|
if (args.explainPriorities) {
|
1647
1652
|
config.config.explain_priorities = true
|
1648
1653
|
}
|