feat: disable notifier v2 and start turn on agent interaction (#15624)

Make the inter-agent communication start a turn

As part of this, we disable the v2 notifier to prevent some odd
behaviour where the agent restart working while you're talking to it for
example
This commit is contained in:
jif-oai
2026-03-24 17:01:24 +00:00
committed by GitHub
parent 0f90a34676
commit b51d5f18c7
6 changed files with 47 additions and 150 deletions

View File

@@ -548,7 +548,7 @@ impl InterAgentCommunication {
Self::from_message_content(content).is_some()
}
fn from_message_content(content: &[ContentItem]) -> Option<Self> {
pub fn from_message_content(content: &[ContentItem]) -> Option<Self> {
match content {
[ContentItem::InputText { text }] | [ContentItem::OutputText { text }] => {
serde_json::from_str(text).ok()