Skip to content

Commit 3c0f255

Browse files
author
Milder Hernandez Cagua
committed
Add EI_EXPOSE_REP updates
1 parent 3dcbb89 commit 3c0f255

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

semantickernel-api/src/main/java/com/microsoft/semantickernel/agents/AgentInvokeOptions.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ public AgentInvokeOptions(@Nullable KernelArguments kernelArguments,
4848
*
4949
* @return The kernel arguments.
5050
*/
51+
@SuppressFBWarnings("EI_EXPOSE_REP")
5152
public KernelArguments getKernelArguments() {
5253
return kernelArguments;
5354
}

semantickernel-api/src/main/java/com/microsoft/semantickernel/agents/KernelAgent.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import com.microsoft.semantickernel.semanticfunctions.KernelArguments;
88
import com.microsoft.semantickernel.semanticfunctions.PromptTemplate;
99
import com.microsoft.semantickernel.services.chatcompletion.ChatMessageContent;
10+
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
1011
import reactor.core.publisher.Flux;
1112
import reactor.core.publisher.Mono;
1213

@@ -89,6 +90,7 @@ public Kernel getKernel() {
8990
*
9091
* @return The invocation context used by the agent
9192
*/
93+
@SuppressFBWarnings("EI_EXPOSE_REP")
9294
public KernelArguments getKernelArguments() {
9395
return kernelArguments;
9496
}

0 commit comments

Comments
 (0)