@promptbook/node 0.77.0-6 → 0.77.0
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/README.md +0 -4
- package/esm/index.es.js +9 -2
- package/esm/index.es.js.map +1 -1
- package/esm/typings/src/execution/AvailableModel.d.ts +1 -1
- package/esm/typings/src/llm-providers/google/createGoogleExecutionTools.d.ts +0 -4
- package/package.json +2 -2
- package/umd/index.umd.js +9 -2
- package/umd/index.umd.js.map +1 -1
package/README.md
CHANGED
|
@@ -23,10 +23,6 @@
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
<blockquote style="color: #ff8811">
|
|
27
|
-
<b>⚠ Warning:</b> This is a pre-release version of the library. It is not yet ready for production use. Please look at <a href="https://www.npmjs.com/package/@promptbook/core?activeTab=versions">latest stable release</a>.
|
|
28
|
-
</blockquote>
|
|
29
|
-
|
|
30
26
|
## 📦 Package `@promptbook/node`
|
|
31
27
|
|
|
32
28
|
- Promptbooks are [divided into several](#-packages) packages, all are published from [single monorepo](https://github.com/webgptorg/promptbook).
|
package/esm/index.es.js
CHANGED
|
@@ -26,7 +26,7 @@ var BOOK_LANGUAGE_VERSION = '1.0.0';
|
|
|
26
26
|
*
|
|
27
27
|
* @see https://github.com/webgptorg/promptbook
|
|
28
28
|
*/
|
|
29
|
-
var PROMPTBOOK_ENGINE_VERSION = '0.77.0-
|
|
29
|
+
var PROMPTBOOK_ENGINE_VERSION = '0.77.0-6';
|
|
30
30
|
/**
|
|
31
31
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
32
32
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
@@ -8971,7 +8971,14 @@ var $llmToolsRegister = new $Register('llm_execution_tools_constructors');
|
|
|
8971
8971
|
*/
|
|
8972
8972
|
function $registeredLlmToolsMessage() {
|
|
8973
8973
|
var e_1, _a, e_2, _b;
|
|
8974
|
-
var env
|
|
8974
|
+
var env;
|
|
8975
|
+
if ($isRunningInNode()) {
|
|
8976
|
+
env = process.env;
|
|
8977
|
+
// <- TODO: [⚛] Some DRY way how to get to `process.env` and pass it into functions - ACRY search for `env`
|
|
8978
|
+
}
|
|
8979
|
+
else {
|
|
8980
|
+
env = {};
|
|
8981
|
+
}
|
|
8975
8982
|
/**
|
|
8976
8983
|
* Mixes registered LLM tools from $llmToolsMetadataRegister and $llmToolsRegister
|
|
8977
8984
|
*/
|