类的使用
io.agentscope.core.agent.EventSource
使用EventSource的程序包
-
io.agentscope.core.agent中EventSource的使用
修饰符和类型方法说明EventSource.Builder.build()Event.getSource()已过时。Returns the originating subagent descriptor, ornullif this event was emitted by the top-level agent.EventSource.withAppendedPath(String segment) 已过时。Returns a newEventSourcewithpathextended bysegment, anddepthincremented by one.参数类型为EventSource的io.agentscope.core.agent中的方法修饰符和类型方法说明Event.withSource(EventSource source) 已过时。Returns a copy of this event with the given source attached.参数类型为EventSource的io.agentscope.core.agent中的构造器限定符构造器说明Event(EventType type, Msg message, boolean isLast, EventSource source) 已过时。Creates a new event with optional source.