枚举类的使用
io.agentscope.core.hook.HookEventType
使用HookEventType的程序包
-
io.agentscope.core.hook中HookEventType的使用
修饰符和类型方法说明final HookEventTypeHookEvent.getType()Get the event type.static HookEventType返回带有指定名称的该类的枚举常量。static HookEventType[]HookEventType.values()返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同参数类型为HookEventType的io.agentscope.core.hook中的构造器限定符构造器说明protectedActingEvent(HookEventType type, Agent agent, Toolkit toolkit, ToolUseBlock toolUse) Constructor for ActingEvent.protectedHookEvent(HookEventType type, Agent agent) Constructor for HookEvent.protectedReasoningEvent(HookEventType type, Agent agent, String modelName, GenerateOptions generateOptions) Constructor for ReasoningEvent.protectedSummaryEvent(HookEventType type, Agent agent, String modelName, GenerateOptions generateOptions) 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).