@shenghuabi/workflow 1.1.7 → 1.1.8
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 +1 -0
- package/index.js +6 -4
- package/index.js.map +3 -3
- package/index.mjs +4 -3
- package/index.mjs.map +3 -3
- package/package.json +2 -2
- package/{inline/node/chat/util → util}/useChat.d.ts +1 -1
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -68,7 +68,8 @@ __export(workflow_exports, {
|
|
|
68
68
|
createResultData: () => createResultData,
|
|
69
69
|
flatFilterHandleList: () => flatFilterHandleList,
|
|
70
70
|
llmModelConfig: () => llmModelConfig,
|
|
71
|
-
serializeLexicalTextarea: () => serializeLexicalTextarea
|
|
71
|
+
serializeLexicalTextarea: () => serializeLexicalTextarea,
|
|
72
|
+
useChat: () => useChat
|
|
72
73
|
});
|
|
73
74
|
module.exports = __toCommonJS(workflow_exports);
|
|
74
75
|
|
|
@@ -703,7 +704,7 @@ var TemplateFormatService = class extends import_static_injector4.RootStaticInje
|
|
|
703
704
|
// packages/workflow/inline/node/chat/main/runner.ts
|
|
704
705
|
var import_util3 = require("@cyia/util");
|
|
705
706
|
|
|
706
|
-
// packages/workflow/
|
|
707
|
+
// packages/workflow/util/useChat.ts
|
|
707
708
|
var import_static_injector5 = require("static-injector");
|
|
708
709
|
|
|
709
710
|
// packages/workflow/util/serialize-text-template.ts
|
|
@@ -726,7 +727,7 @@ function serializeLexicalTextarea(input, options) {
|
|
|
726
727
|
}).trim();
|
|
727
728
|
}
|
|
728
729
|
|
|
729
|
-
// packages/workflow/
|
|
730
|
+
// packages/workflow/util/useChat.ts
|
|
730
731
|
function useChat() {
|
|
731
732
|
const contextProvider = (0, import_static_injector5.inject)(NodeContextToken);
|
|
732
733
|
const environmentContext = (0, import_static_injector5.inject)(EnviromentParametersToken);
|
|
@@ -1886,6 +1887,7 @@ var WORKFLOW_MODULE = {
|
|
|
1886
1887
|
createResultData,
|
|
1887
1888
|
flatFilterHandleList,
|
|
1888
1889
|
llmModelConfig,
|
|
1889
|
-
serializeLexicalTextarea
|
|
1890
|
+
serializeLexicalTextarea,
|
|
1891
|
+
useChat
|
|
1890
1892
|
});
|
|
1891
1893
|
//# sourceMappingURL=index.js.map
|