@iterms/tinyflow-ai-vue 0.2.19 → 0.2.20
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/dist/index.d.ts +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -88,7 +88,7 @@ declare type TinyflowOptions = {
|
|
|
88
88
|
element: string | Element;
|
|
89
89
|
data?: TinyflowData | string;
|
|
90
90
|
provider?: {
|
|
91
|
-
llm?: (groupId?: string
|
|
91
|
+
llm?: (groupType: string, groupId?: string) => SelectItem[] | Promise<SelectItem[]>;
|
|
92
92
|
knowledge?: () => SelectItem[] | Promise<SelectItem[]>;
|
|
93
93
|
searchEngine?: () => SelectItem[] | Promise<SelectItem[]>;
|
|
94
94
|
llmGroup?: (groupType?: string | undefined) => SelectItem[] | Promise<SelectItem[]>;
|
package/dist/index.js
CHANGED
|
@@ -16329,7 +16329,7 @@ function jf(e, t) {
|
|
|
16329
16329
|
let a = /* @__PURE__ */ xt(dn([])), l = /* @__PURE__ */ xt(dn([]));
|
|
16330
16330
|
Gt(async () => {
|
|
16331
16331
|
var y, C, b, p;
|
|
16332
|
-
const h = await ((C = (y = s.provider) == null ? void 0 : y.llm) == null ? void 0 : C.call(y)), v = await ((p = (b = s.provider) == null ? void 0 : b.llmGroup) == null ? void 0 : p.call(b));
|
|
16332
|
+
const h = await ((C = (y = s.provider) == null ? void 0 : y.llm) == null ? void 0 : C.call(y, "0")), v = await ((p = (b = s.provider) == null ? void 0 : b.llmGroup) == null ? void 0 : p.call(b, "0"));
|
|
16333
16333
|
d(a).push(...h || []), d(l).push(...v || []), n() && (n().enableThinking = n().enableThinking !== void 0 ? n().enableThinking : !1);
|
|
16334
16334
|
});
|
|
16335
16335
|
const { updateNodeData: u } = Yt(), c = (h) => {
|
|
@@ -16350,7 +16350,7 @@ function jf(e, t) {
|
|
|
16350
16350
|
let g = n().advancedExpand ? ["advanced"] : [];
|
|
16351
16351
|
async function f(h) {
|
|
16352
16352
|
var y, C;
|
|
16353
|
-
const v = await ((C = (y = s.provider) == null ? void 0 : y.llm) == null ? void 0 : C.call(y, h));
|
|
16353
|
+
const v = await ((C = (y = s.provider) == null ? void 0 : y.llm) == null ? void 0 : C.call(y, "0", h));
|
|
16354
16354
|
oe(a, [], !0), d(a).push(...v || []);
|
|
16355
16355
|
}
|
|
16356
16356
|
{
|
|
@@ -16667,7 +16667,7 @@ function Xf(e, t) {
|
|
|
16667
16667
|
let a = /* @__PURE__ */ xt(dn([])), l = /* @__PURE__ */ xt(dn([]));
|
|
16668
16668
|
Gt(async () => {
|
|
16669
16669
|
var y, C, b, p;
|
|
16670
|
-
const h = await ((C = (y = s.provider) == null ? void 0 : y.llm) == null ? void 0 : C.call(y)), v = await ((p = (b = s.provider) == null ? void 0 : b.llmGroup) == null ? void 0 : p.call(b, "2"));
|
|
16670
|
+
const h = await ((C = (y = s.provider) == null ? void 0 : y.llm) == null ? void 0 : C.call(y, "2")), v = await ((p = (b = s.provider) == null ? void 0 : b.llmGroup) == null ? void 0 : p.call(b, "2"));
|
|
16671
16671
|
d(a).push(...h || []), d(l).push(...v || []), n() && (n().enableThinking = n().enableThinking !== void 0 ? n().enableThinking : !1);
|
|
16672
16672
|
});
|
|
16673
16673
|
const { updateNodeData: u } = Yt(), c = (h) => {
|
|
@@ -16688,7 +16688,7 @@ function Xf(e, t) {
|
|
|
16688
16688
|
let g = n().advancedExpand ? ["advanced"] : [];
|
|
16689
16689
|
async function f(h) {
|
|
16690
16690
|
var y, C;
|
|
16691
|
-
const v = await ((C = (y = s.provider) == null ? void 0 : y.llm) == null ? void 0 : C.call(y, h));
|
|
16691
|
+
const v = await ((C = (y = s.provider) == null ? void 0 : y.llm) == null ? void 0 : C.call(y, "2", h));
|
|
16692
16692
|
oe(a, [], !0), d(a).push(...v || []);
|
|
16693
16693
|
}
|
|
16694
16694
|
Xt(() => {
|