feat: spawn v2 as inter agent communication (#15985)

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
jif-oai
2026-03-27 15:45:19 +01:00
committed by GitHub
parent 2b71717ccf
commit 426f28ca99
13 changed files with 118 additions and 163 deletions

View File

@@ -512,6 +512,15 @@ pub enum Op {
ListModels,
}
impl From<Vec<UserInput>> for Op {
fn from(value: Vec<UserInput>) -> Self {
Op::UserInput {
items: value,
final_output_json_schema: None,
}
}
}
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq, JsonSchema, TS)]
pub struct InterAgentCommunication {
pub author: AgentPath,