@aitronos/freddy-plugins 0.4.24 → 0.4.26
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/CHANGELOG.md +52 -0
- package/dist/freddy-plugins.css +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1262 -1262
- package/dist/index.js +3 -5
- package/dist/index.js.map +1 -1
- package/dist/web-components.iife.js +187 -0
- package/dist/web-components.iife.js.map +1 -0
- package/dist/web-components.js +63554 -0
- package/dist/web-components.js.map +1 -0
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -60481,10 +60481,7 @@ const handleClick = () => {
|
|
|
60481
60481
|
}
|
|
60482
60482
|
}, x = async (H, V) => {
|
|
60483
60483
|
var xe, he, be, ge;
|
|
60484
|
-
if (!n.apiKey || !n.organizationId)
|
|
60485
|
-
return;
|
|
60486
|
-
const K = g.value.find((te) => te.default) || g.value[0];
|
|
60487
|
-
if (!K)
|
|
60484
|
+
if (!n.apiKey || !n.organizationId || !(g.value.find((te) => te.default) || g.value[0]))
|
|
60488
60485
|
return;
|
|
60489
60486
|
const Z = Date.now().toString() + "_assistant", Oe = {
|
|
60490
60487
|
id: Z,
|
|
@@ -60497,7 +60494,8 @@ const handleClick = () => {
|
|
|
60497
60494
|
try {
|
|
60498
60495
|
const te = {
|
|
60499
60496
|
organization_id: n.organizationId,
|
|
60500
|
-
assistant_id:
|
|
60497
|
+
assistant_id: "221",
|
|
60498
|
+
//selectedAssistant.id TODO: remove this
|
|
60501
60499
|
thread_id: (xe = C.value) == null ? void 0 : xe.toString(),
|
|
60502
60500
|
inputs: [
|
|
60503
60501
|
{
|