类的使用
io.agentscope.core.session.SessionManager
使用SessionManager的程序包
-
io.agentscope.core.session中SessionManager的使用
修饰符和类型方法说明SessionManager.addComponent(StateModule component) Add a component to be managed.static SessionManagerSessionManager.forSessionId(String sessionId) Create a SessionManager for the given session ID.SessionManager.withSession(Session session) Set the session implementation to use.