mirror of
https://github.com/openai/codex.git
synced 2026-05-02 12:21:26 +03:00
feat: spawn v2 as inter agent communication (#15985)
Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user