MastraM
Mastraโ€ข2mo ago
avidal_arya

agent.network threadiD is inccorect

it seems when using the network endpont with mastraclient that the threadID is filled with the ressourceId:
payload:
messages: 
[{role: "user", content: [{type: "text", text: "hello"}]}]
resource: "ZdE8Q4x7lLdQYNpA2S8bQOANV8I3"
runId: "ZdE8Q4x7lLdQYNpA2S8bQOANV8I3"
threadId: "245dbf95-9a46-4b6b-8633-f8dbd4bd27cd"


response:
{"type":"routing-agent-start","payload":{"agentId":"routing-agent","runId":"ZdE8Q4x7lLdQYNpA2S8bQOANV8I3","inputData":{"task":"hello","primitiveId":"","primitiveType":"none","iteration":1,"threadResourceId":"Network Agent","threadId":"ZdE8Q4x7lLdQYNpA2S8bQOANV8I3","isOneOff":false,"verboseIntrospection":true}},"runId":"ZdE8Q4x7lLdQYNpA2S8bQOANV8I3","from":"NETWORK"}
image.png
image.png
Was this page helpful?