#mastra || usecopilotreadble and thread id not working
1 messages · Page 1 of 1 (latest)
@upbeat mist Could you please share your relevant code for useCopilotReadable, thread ID setup, and your CopilotKit/Mastra configuration?
<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...
mastra side code is this
@echo cloak
??
<@&1229452952104603650> @echo cloak please reply
@upbeat mist let me check this and I'll reply
@upbeat mist Hey! I’m passing this to the dev team to check, the team will take a look, thanks for your patience!
Waiting
Any update?
Neither readables nor threads are currently supported for mastra. It’s coming soon, probably next few weeks.
Please update here