Skip to content

[Query] Multiple concurrent sessions for same Client #71

@krishnanmms

Description

@krishnanmms

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions