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 fff6b90 commit ae91765Copy full SHA for ae91765
semantickernel-api/src/main/java/com/microsoft/semantickernel/agents/KernelAgent.java
@@ -42,9 +42,10 @@ protected KernelAgent(
42
this.name = name;
43
this.description = description;
44
this.kernel = kernel;
45
- this.kernelArguments = kernelArguments != null ? kernelArguments.copy() : null;
+ this.kernelArguments = kernelArguments != null
46
+ ? kernelArguments.copy() : KernelArguments.builder().build();
47
this.invocationContext = invocationContext != null
- ? invocationContext : InvocationContext.builder().withReturnMode(InvocationReturnMode.FULL_HISTORY).build();
48
+ ? invocationContext : InvocationContext.builder().build();
49
this.instructions = instructions;
50
this.template = template;
51
}
0 commit comments