Skip to content

Commit 6322c0b

Browse files
google-genai-botcopybara-github
authored andcommitted
refactor: Removing deprecated ADK constructors
PiperOrigin-RevId: 899080066
1 parent 69680bb commit 6322c0b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/main/java/com/google/adk/tools/mcp/McpAsyncToolset.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public McpAsyncToolset build() {
127127
* @param objectMapper An ObjectMapper instance for parsing schemas.
128128
* @param toolFilter Either a ToolPredicate or a List of tool names.
129129
*/
130-
McpAsyncToolset(
130+
protected McpAsyncToolset(
131131
McpSessionManager mcpSessionManager, ObjectMapper objectMapper, @Nullable Object toolFilter) {
132132
Objects.requireNonNull(mcpSessionManager);
133133
Objects.requireNonNull(objectMapper);

0 commit comments

Comments
 (0)