{
"messages": [
{
"parts": [
{
"type": "text",
"text": "hello"
}
],
"id": "HcFixd0TKbl2SLDN",
"role": "user"
}
],
"memory": {
"thread": "thread-1768382350606-m4k743wk5",
"resource": "804939"
}
}
when i use above network payload for a network route via aisdk i see that the root agent calls to respective agent 2 times?
where as if i change the body to
{
"messages": [
{
"role": "user",
"content": "Hello "
}
],
"memory": {
"thread": "test-thread-001",
"resource": "test-user-123"
}
}
it calls it one time.
what is the issue