@shenghuabi/workflow 1.0.0 → 1.0.1
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.js +1 -1
- package/index.js.map +2 -2
- package/index.mjs +1 -1
- package/index.mjs.map +2 -2
- package/package.json +3 -3
- package/webview/index.js.map +1 -1
package/index.js
CHANGED
|
@@ -702,7 +702,7 @@ var NodeRunnerBase = class {
|
|
|
702
702
|
}
|
|
703
703
|
#modelConfig = (0, import_static_injector3.inject)(ModelOptionsToken);
|
|
704
704
|
mergeChatModel(input) {
|
|
705
|
-
|
|
705
|
+
const chatService = this.injector.get(ChatServiceToken);
|
|
706
706
|
let presetConfig = {};
|
|
707
707
|
if (input?.name) {
|
|
708
708
|
presetConfig = chatService.getModelConfig(input.name) ?? {};
|