包package
io.agentscope.core.hookio.agentscope.core.hook
package io.agentscope.core.hook
io.agentscope.core.hook 属于智能体运行时,推理、工具调用与会话执行。 该包共收录 19 个公开类型。
io.agentscope.core.hook belongs to the Agent runtime layer and contains 19 public types.
接口Interfaces
| 类型Type | 种类Kind | 说明Description |
|---|---|---|
Hook | 接口interface | 定义钩子契约的接口。 Hook interface for monitoring and intercepting agent execution. |
类Classes
| 类型Type | 种类Kind | 说明Description |
|---|---|---|
ActingChunkEvent | 类class | 执行分块事件,描述执行过程中的事件。 Event fired during tool execution streaming. |
ActingEvent | 类class | 执行事件,描述执行过程中的事件。 Base class for tool execution (acting) related events. |
ErrorEvent | 类class | 错误事件,描述执行过程中的事件。 Event fired when an error occurs during agent execution. |
HookEvent | 类class | 所有钩子事件的基类。 Base class for all hook events. |
LegacyHookDispatcher | 类class | Legacy 钩子调度器,驱动智能体的推理、工具调用与会话执行。 Encapsulates all legacy `HookEvent` construction and dispatch logic. |
PostActingEvent | 类class | 后置执行事件,描述执行过程中的事件。 Event fired after tool execution completes. |
PostCallEvent | 类class | 后置调用事件,描述执行过程中的事件。 Event fired after agent completes processing. |
PostReasoningEvent | 类class | 后置推理事件,描述执行过程中的事件。 Event fired after LLM reasoning completes. |
PostSummaryEvent | 类class | 后置摘要事件,描述执行过程中的事件。 Event fired after summary generation completes. |
PreActingEvent | 类class | 前置执行事件,描述执行过程中的事件。 Event fired before tool execution. |
PreCallEvent | 类class | 前置调用事件,描述执行过程中的事件。 Event fired before agent starts processing. |
PreReasoningEvent | 类class | 前置推理事件,描述执行过程中的事件。 Event fired before LLM reasoning. |
PreSummaryEvent | 类class | 前置摘要事件,描述执行过程中的事件。 Event fired before summary generation when max iterations is reached. |
ReasoningChunkEvent | 类class | 推理分块事件,描述执行过程中的事件。 Event fired during reasoning streaming. |
ReasoningEvent | 类class | 推理事件,描述执行过程中的事件。 Base class for reasoning-related events. |
SummaryChunkEvent | 类class | 摘要分块事件,描述执行过程中的事件。 Event fired during summary streaming. |
SummaryEvent | 类class | 摘要事件,描述执行过程中的事件。 Base class for summary-related events. |
枚举Enums
| 类型Type | 种类Kind | 说明Description |
|---|---|---|
HookEventType | 枚举enum | 定义钩子事件类型的枚举。 Enum representing all hook event types. |