#mastra || usecopilotreadble and thread id not working

1 messages · Page 1 of 1 (latest)

upbeat mist
#

using mastra agent

Issue : 1
I am using usecopilotreadble but llm is not able to use that data and respond

Issue : 2
I am trying to set thread id in copilotkit or also tried setthread id ,but do not get messages preloaded

#

@echo cloak @lusty hornet

hoary robinBOT
#

@upbeat mist Could you please share your relevant code for useCopilotReadable, thread ID setup, and your CopilotKit/Mastra configuration?

upbeat mist
#

<CopilotKit
threadId="2140b272-7180-410d-9526-f66210918b13"
runtimeUrl={http://localhost:4111/copilotkit}
agent="productSupportAgent"

children</copilotkit> i pass this static thread id ...this threadid exists in mastra(on localhost:4111) but ui side no chat loads in network call i see messages are empty

#

useCopilotReadable(
{
description: "The Dashboard data",
value: homeConfig?.widgets
},
[homeConfig]
); having usecopilothook in the component where popup is defined..... <CopilotPopup
labels={{
title: "Job Assistant",
initial: "Hi! 👋 I'm ready to help you."
}}
/> -> popup works but even i keep static data in value no data is sent to agent agent doe snot know anything about state...

#

see this payload and response on load of copilot

#

see payload and mastra agent ..same threadid but no preloaded thread

#

All in all 2 issues i am talking about one is usecopilotreadble not working, and second is thread idoesnnt load the chat...

upbeat mist
#

@echo cloak

upbeat mist
#

??

upbeat mist
#

<@&1229452952104603650> @echo cloak please reply

echo cloak
#

@upbeat mist let me check this and I'll reply

hoary robinBOT
#

@upbeat mist Hey! I’m passing this to the dev team to check, the team will take a look, thanks for your patience!

upbeat mist
#

Waiting

upbeat mist
#

Any update?

runic chasm
#

Neither readables nor threads are currently supported for mastra. It’s coming soon, probably next few weeks.

upbeat mist
#

Is it available now?

#

@runic chasm