RecentMessage
@JsonIgnoreProperties(ignoreUnknown = true) public record RecentMessage(String from, String content, String timestamp)
源码Source
io/agentscope/harness/agent/team/TeamContext.java:63–64承载 Recent 消息数据的记录类型。位于 io.agentscope.harness.agent.team 包。核心成员包括 from、content、timestamp。
A record in io.agentscope.harness.agent.team that carries data used when components supports discovery, delegation and collaboration between agents. Declared in io.agentscope.harness.agent.team.
记录组件摘要Record Component Summary
| 组件Component | 类型Type | 说明Description |
|---|---|---|
from | String | 创建并返回实例。 Creates and returns an instance. |
content | String | 执行内容相关操作。 Performs the content operation. |
timestamp | String | 执行时间戳相关操作。 Performs the timestamp operation. |
记录组件详情Record Component Detail
from
String from创建并返回实例。
Creates and returns an instance.
源码Source
io/agentscope/harness/agent/team/TeamContext.java:63–64content
String content执行内容相关操作。
Performs the content operation.
源码Source
io/agentscope/harness/agent/team/TeamContext.java:63–64timestamp
String timestamp执行时间戳相关操作。
Performs the timestamp operation.
源码Source
io/agentscope/harness/agent/team/TeamContext.java:63–64