Does the sdk support multiple concurrent sessions? Specifically, is it okay to create multiple ClientSession for the same com.agentclientprotocol.client.Client and use them concurrently?
I did try this, and it hangs/timesout when I send prompt to each of these sessions concurrently (from different threads). Not sure if I made any mistake.
If it is not supported, is the correct way - create multiple clients, which in turn launches multiples process?
Does the sdk support multiple concurrent sessions? Specifically, is it okay to create multiple ClientSession for the same com.agentclientprotocol.client.Client and use them concurrently?
I did try this, and it hangs/timesout when I send prompt to each of these sessions concurrently (from different threads). Not sure if I made any mistake.
If it is not supported, is the correct way - create multiple clients, which in turn launches multiples process?