Skip to content

How to manage the lifespan of the session in a dialogue system? #114

Open
@digdigdigging

Description

@digdigdigging

In a dialogue system, I want to use create_react_agent (tools are from tools = await load_mcp_tools(session)) to build a agent,.
Every time when user requests, run the same 'create_react_agent ', rather than create another 'create_react_agent ' which would be time consuming.
How to manage the lifespan of the session to accomplish that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions