@promptbook/cli 0.72.0-5 โ 0.72.0-6
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/esm/index.es.js +4 -4
- package/esm/index.es.js.map +1 -1
- package/package.json +1 -1
- package/umd/index.umd.js +4 -4
- package/umd/index.umd.js.map +1 -1
package/esm/index.es.js
CHANGED
|
@@ -21,7 +21,7 @@ import OpenAI from 'openai';
|
|
|
21
21
|
/**
|
|
22
22
|
* The version of the Promptbook library
|
|
23
23
|
*/
|
|
24
|
-
var PROMPTBOOK_VERSION = '0.72.0-
|
|
24
|
+
var PROMPTBOOK_VERSION = '0.72.0-5';
|
|
25
25
|
// TODO: [main] !!!! List here all the versions and annotate + put into script
|
|
26
26
|
|
|
27
27
|
/*! *****************************************************************************
|
|
@@ -11603,13 +11603,13 @@ var OpenAiAssistantExecutionTools = /** @class */ (function (_super) {
|
|
|
11603
11603
|
}
|
|
11604
11604
|
rawPromptContent = replaceParameters(content, __assign(__assign({}, parameters), { modelName: 'assistant' }));
|
|
11605
11605
|
rawRequest = {
|
|
11606
|
-
// [๐จโ๐จโ๐งโ๐ง] ...modelSettings,
|
|
11606
|
+
// TODO: [๐จโ๐จโ๐งโ๐ง] ...modelSettings,
|
|
11607
|
+
// TODO: [๐จโ๐จโ๐งโ๐ง][๐ง ] What about system message for assistants, does it make sence - combination of OpenAI assistants with Promptbook Personas
|
|
11607
11608
|
assistant_id: this.assistantId,
|
|
11608
11609
|
thread: {
|
|
11609
11610
|
messages: [
|
|
11610
|
-
// TODO: !!!!!! Unhardcode
|
|
11611
11611
|
// TODO: !!!!!! Allow threads to be passed
|
|
11612
|
-
{ role: 'user', content:
|
|
11612
|
+
{ role: 'user', content: rawPromptContent },
|
|
11613
11613
|
],
|
|
11614
11614
|
},
|
|
11615
11615
|
// !!!!!! user: this.options.user,
|