theprogrammablemind 9.3.0-beta.15 → 9.3.0-beta.17
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 +11 -7
- package/package.json +1 -1
package/client.js
CHANGED
@@ -1909,8 +1909,18 @@ const knowledgeModuleImpl = async ({
|
|
1909
1909
|
loadForTesting = true
|
1910
1910
|
}
|
1911
1911
|
}
|
1912
|
+
if (template) {
|
1913
|
+
try {
|
1914
|
+
await config.load(rebuildTemplate, template.template, template.instance)
|
1915
|
+
} catch (e) {
|
1916
|
+
errorHandler(e)
|
1917
|
+
}
|
1918
|
+
}
|
1919
|
+
|
1912
1920
|
// remove test only stuff
|
1913
1921
|
if (!isProcess && !loadForTesting) {
|
1922
|
+
config.removeDevelopmentElements(config.config)
|
1923
|
+
/*
|
1914
1924
|
config.config.operators = config.config.operators.filter((operator) => {
|
1915
1925
|
if (operator.development) {
|
1916
1926
|
return false
|
@@ -1925,15 +1935,9 @@ const knowledgeModuleImpl = async ({
|
|
1925
1935
|
return true
|
1926
1936
|
}
|
1927
1937
|
})
|
1938
|
+
*/
|
1928
1939
|
}
|
1929
1940
|
|
1930
|
-
if (template) {
|
1931
|
-
try {
|
1932
|
-
await config.load(rebuildTemplate, template.template, template.instance)
|
1933
|
-
} catch (e) {
|
1934
|
-
errorHandler(e)
|
1935
|
-
}
|
1936
|
-
}
|
1937
1941
|
}
|
1938
1942
|
|
1939
1943
|
// no cache 21 minutes + rebuild fails "node tester_rebuild -m colors"
|