We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd33c21 commit 81abcbeCopy full SHA for 81abcbe
semantickernel-api/src/main/java/com/microsoft/semantickernel/semanticfunctions/KernelArguments.java
@@ -377,7 +377,12 @@ public Builder<U> withExecutionSettings(PromptExecutionSettings executionSetting
377
* @return {$code this} Builder for fluent coding
378
*/
379
public Builder<U> withExecutionSettings(Map<String, PromptExecutionSettings> executionSettings) {
380
- return withExecutionSettings(new ArrayList<>(executionSettings.values()));
+ if (executionSettings == null) {
381
+ return this;
382
+ }
383
+
384
+ this.executionSettings.putAll(executionSettings);
385
386
}
387
388
/**
0 commit comments