feat: communication pattern v2 (#15647)

See internal communication
This commit is contained in:
jif-oai
2026-03-24 18:45:49 +00:00
committed by GitHub
parent d61c03ca08
commit 773fbf56a4
14 changed files with 714 additions and 219 deletions

View File

@@ -518,6 +518,7 @@ pub struct InterAgentCommunication {
#[serde(default)]
pub other_recipients: Vec<AgentPath>,
pub content: String,
pub trigger_turn: bool,
}
impl InterAgentCommunication {
@@ -526,12 +527,14 @@ impl InterAgentCommunication {
recipient: AgentPath,
other_recipients: Vec<AgentPath>,
content: String,
trigger_turn: bool,
) -> Self {
Self {
author,
recipient,
other_recipients,
content,
trigger_turn,
}
}