@@ -415,35 +415,6 @@ public Flowable<Event> runAsync(String userId, String sessionId, Content newMess
415415 return runAsync (userId , sessionId , newMessage , RunConfig .builder ().build ());
416416 }
417417
418- /**
419- * See {@link #runAsync(Session, Content, RunConfig, Map)}.
420- *
421- * @deprecated Use runAsync with sessionId.
422- */
423- @ Deprecated (since = "0.4.0" , forRemoval = true )
424- public Flowable <Event > runAsync (Session session , Content newMessage , RunConfig runConfig ) {
425- return runAsync (session , newMessage , runConfig , /* stateDelta= */ null );
426- }
427-
428- /**
429- * Runs the agent asynchronously using a provided Session object.
430- *
431- * @param session The session to run the agent in.
432- * @param newMessage The new message from the user to process.
433- * @param runConfig Configuration for the agent run.
434- * @param stateDelta Optional map of state updates to merge into the session for this run.
435- * @return A Flowable stream of {@link Event} objects generated by the agent during execution.
436- * @deprecated Use runAsync with sessionId.
437- */
438- @ Deprecated (since = "0.4.0" , forRemoval = true )
439- public Flowable <Event > runAsync (
440- Session session ,
441- Content newMessage ,
442- RunConfig runConfig ,
443- @ Nullable Map <String , Object > stateDelta ) {
444- return runAsyncImpl (session , newMessage , runConfig , stateDelta );
445- }
446-
447418 /**
448419 * Runs the agent asynchronously using a provided Session object.
449420 *
@@ -710,18 +681,6 @@ public Flowable<Event> runLive(
710681 return runLive (sessionKey .userId (), sessionKey .id (), liveRequestQueue , runConfig );
711682 }
712683
713- /**
714- * Runs the agent asynchronously with a default user ID.
715- *
716- * @return stream of generated events.
717- */
718- @ Deprecated (since = "0.5.0" , forRemoval = true )
719- public Flowable <Event > runWithSessionId (
720- String sessionId , Content newMessage , RunConfig runConfig ) {
721- // TODO(b/410859954): Add user_id to getter or method signature. Assuming "tmp-user" for now.
722- return this .runAsync ("tmp-user" , sessionId , newMessage , runConfig );
723- }
724-
725684 /**
726685 * Checks if the agent and its parent chain allow transfer up the tree.
727686 *
0 commit comments