@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 CHANGED
@@ -13,3 +13,4 @@ export * from './plugin/plugin.service';
13
13
  export * from './type/type';
14
14
  export * from './workflow-file.service';
15
15
  export * from './util/serialize-text-template';
16
+ export * from './util/useChat';
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/inline/node/chat/util/useChat.ts
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/inline/node/chat/util/useChat.ts
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