File tree Expand file tree Collapse file tree
core/src/main/java/com/google/adk/agents Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -90,16 +90,6 @@ public Builder toBuilder() {
9090 return new Builder (this );
9191 }
9292
93- /**
94- * Creates a shallow copy of the given {@link InvocationContext}.
95- *
96- * @deprecated Use {@code other.toBuilder().build()} instead.
97- */
98- @ Deprecated (forRemoval = true )
99- public static InvocationContext copyOf (InvocationContext other ) {
100- return other .toBuilder ().build ();
101- }
102-
10393 /** Returns the session service for managing session state. */
10494 public BaseSessionService sessionService () {
10595 return sessionService ;
@@ -156,16 +146,6 @@ public BaseAgent agent() {
156146 return agent ;
157147 }
158148
159- /**
160- * Sets the [agent] being invoked. This is useful when delegating to a sub-agent.
161- *
162- * @deprecated Use {@link #toBuilder()} and {@link Builder#agent(BaseAgent)} instead.
163- */
164- @ Deprecated (forRemoval = true )
165- public void agent (BaseAgent agent ) {
166- this .agent = agent ;
167- }
168-
169149 /** Returns the session associated with this invocation. */
170150 public Session session () {
171151 return session ;
You can’t perform that action at this time.
0 commit comments