@innovastudio/contentbuilder 1.5.100 → 1.5.101
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/index.d.ts
CHANGED
package/package.json
CHANGED
@@ -86571,6 +86571,7 @@ ${answer}
|
|
86571
86571
|
let temperature = localStorage.getItem('_temp') || this.builder.temperature;
|
86572
86572
|
let topP = localStorage.getItem('_top_p') || this.builder.topP;
|
86573
86573
|
let num = 1;
|
86574
|
+
if (this.builder.settings.onStartRequest) this.builder.settings.onStartRequest();
|
86574
86575
|
const messages = {
|
86575
86576
|
question,
|
86576
86577
|
context,
|
@@ -86578,8 +86579,12 @@ ${answer}
|
|
86578
86579
|
functs,
|
86579
86580
|
temperature,
|
86580
86581
|
topP,
|
86581
|
-
num
|
86582
|
+
num,
|
86583
|
+
metadata: this.builder.settings.metadata || {}
|
86582
86584
|
};
|
86585
|
+
|
86586
|
+
// console.log(messages);
|
86587
|
+
|
86583
86588
|
try {
|
86584
86589
|
/*
|
86585
86590
|
const response = await fetch(this.builder.sendCommandUrl, {
|