枚举类的使用
io.agentscope.core.hook.HookEventType
使用HookEventType的程序包
-
io.agentscope.core.hook中HookEventType的使用
修饰符和类型方法说明final HookEventTypeHookEvent.getType()已过时, 待删除: 此 API 元素将从以后的版本中删除。Get the event type.static HookEventType已过时, 待删除: 此 API 元素将从以后的版本中删除。返回带有指定名称的该类的枚举常量。static HookEventType[]HookEventType.values()已过时, 待删除: 此 API 元素将从以后的版本中删除。返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同参数类型为HookEventType的io.agentscope.core.hook中的构造器限定符构造器说明protectedActingEvent(HookEventType type, Agent agent, Toolkit toolkit, ToolUseBlock toolUse) 已过时, 待删除: 此 API 元素将从以后的版本中删除。Constructor for ActingEvent.protectedHookEvent(HookEventType type, Agent agent) 已过时, 待删除: 此 API 元素将从以后的版本中删除。Constructor for HookEvent.protectedReasoningEvent(HookEventType type, Agent agent, String modelName, GenerateOptions generateOptions) 已过时, 待删除: 此 API 元素将从以后的版本中删除。Constructor for ReasoningEvent.protectedSummaryEvent(HookEventType type, Agent agent, String modelName, GenerateOptions generateOptions) 已过时, 待删除: 此 API 元素将从以后的版本中删除。Constructor for SummaryEvent. -
io.agentscope.core.hook.recorder中HookEventType的使用
类型变量类型为HookEventType的io.agentscope.core.hook.recorder中的方法参数修饰符和类型方法说明JsonlTraceExporter.Builder.enabledEvents(Set<HookEventType> enabledEvents) Enables exactly these event types (chunk and summary helpers still apply).