3434public class SessionLogSyncTest extends ClientTestBase {
3535 private static final String AGENT_NAME = "MySessionHostedAgent3" ;
3636 private static final String AGENT_VERSION = "16" ;
37- private static final String ISOLATION_KEY = "sse-validation" ;
3837 private static final String SESSION_ID = "sse-validation-record-sync" ;
3938
4039 @ RecordWithoutRequestBody
@@ -47,7 +46,7 @@ public void validatesSessionLogStream(HttpClient httpClient, AgentsServiceVersio
4746
4847 deleteSession (client );
4948 AgentSessionResource session = client
50- .createSessionWithResponse (AGENT_NAME , ISOLATION_KEY ,
49+ .createSessionWithResponse (AGENT_NAME ,
5150 BinaryData .fromObject (new com .azure .ai .agents .implementation .models .CreateSessionRequest (
5251 new VersionRefIndicator (AGENT_VERSION )).setAgentSessionId (SESSION_ID )),
5352 featureOptions )
@@ -88,8 +87,7 @@ private ScheduledFuture<?> scheduleSessionDelete(AgentsClient client, ScheduledE
8887
8988 private static void deleteSession (AgentsClient client ) {
9089 try {
91- client .deleteSession (AGENT_NAME , SESSION_ID , ISOLATION_KEY ,
92- AgentDefinitionOptInKeys .HOSTED_AGENTS_V1_PREVIEW );
90+ client .deleteSession (AGENT_NAME , SESSION_ID , AgentDefinitionOptInKeys .HOSTED_AGENTS_V1_PREVIEW );
9391 } catch (RuntimeException ignored ) {
9492 // Cleanup best effort.
9593 }
0 commit comments