Skip to content

Commit bfe08e8

Browse files
Update core/src/main/java/com/google/adk/tools/AgentTool.java
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent eb75ddf commit bfe08e8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

core/src/main/java/com/google/adk/tools/AgentTool.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ public static AgentTool create(BaseAgent agent) {
7171
protected AgentTool(
7272
BaseAgent agent,
7373
boolean skipSummarization,
74-
BaseSessionService sessionService,
75-
BaseArtifactService artifactService,
76-
BaseMemoryService memoryService,
77-
List<BasePlugin> plugins) {
74+
@org.jspecify.annotations.Nullable BaseSessionService sessionService,
75+
@org.jspecify.annotations.Nullable BaseArtifactService artifactService,
76+
@org.jspecify.annotations.Nullable BaseMemoryService memoryService,
77+
@org.jspecify.annotations.Nullable List<BasePlugin> plugins) {
7878
super(agent.name(), agent.description());
7979
this.agent = agent;
8080
this.skipSummarization = skipSummarization;

0 commit comments

Comments
 (0)