Hook
@FunctionalInterface public interface Hook
源码Source
io/agentscope/harness/agent/team/TeamWakeups.java:30–33定义钩子契约的接口。位于 io.agentscope.harness.agent.team 包。核心成员包括 wake。
Wakes a teammate, optionally injecting notice into its next turn.
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public boolean wake(String teamName, String memberName, String notice) | 执行 `wake` 方法。 Performs the wake operation. |
方法详情Method Detail
wake
public boolean wake(String teamName, String memberName, String notice)
执行 wake 方法。
Performs the wake operation.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
teamName | String | 团队名称(类型 `String`)。The team name. |
memberName | String | 成员名称(类型 `String`)。The member name. |
notice | String | notice(类型 `String`)。The notice. |
boolean返回布尔值,表示判断结果。Returns a boolean result.
源码Source
io/agentscope/harness/agent/team/TeamWakeups.java:32