8000 feat!: remove deprecated LlmAgent.canonicalTools method · google/adk-java@951920d · GitHub
[go: up one dir, main page]

Skip to content

Commit 951920d

Browse files
tilgalascopybara-github
authored andcommitted
feat!: remove deprecated LlmAgent.canonicalTools method
PiperOrigin-RevId: 881465017
1 parent d9d84ee commit 951920d

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

core/src/main/java/com/google/adk/agents/LlmAgent.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -757,14 +757,6 @@ public Single<Map.Entry<String, Boolean>> canonicalGlobalInstruction(ReadonlyCon
757757
throw new IllegalStateException("Unknown Instruction subtype: " + globalInstruction.getClass());
758758
}
759759

760-
/**
761-
* @deprecated Use {@link #canonicalTools(ReadonlyContext)} instead.
762-
*/
763-
@Deprecated
764-
public Flowable<BaseTool> canonicalTools(Optional<ReadonlyContext> context) {
765-
return canonicalTools(context.orElse(null));
766-
}
767-
768760
/**
769761
* Constructs the list of tools for this agent based on the {@link #tools} field.
770762
*

0 commit comments

Comments
 (0)
0