playground tries to load not existent workflow

My agent is defined as following:
export const gitlabAgent = new Agent({
name: 'gitlabAgent',
description: `
An agent that interacts with GitLab's API to fetch and manage repository data.
Assign a task to me and I will use the appropriate tool to complete it.
`.trim(),
instructions: gitlabAgentPrompt,
model: defaultProvider,
memory: new Memory({}),
tools: {
gitlabGraphQL: gitlabGraphQLTool,
gitlabRest: gitlabRestTool,
gitlabGraphQLSearch: gitlabGraphQLSearchTool,
},
});
export const gitlabAgent = new Agent({
name: 'gitlabAgent',
description: `
An agent that interacts with GitLab's API to fetch and manage repository data.
Assign a task to me and I will use the appropriate tool to complete it.
`.trim(),
instructions: gitlabAgentPrompt,
model: defaultProvider,
memory: new Memory({}),
tools: {
gitlabGraphQL: gitlabGraphQLTool,
gitlabRest: gitlabRestTool,
gitlabGraphQLSearch: gitlabGraphQLSearchTool,
},
});
Tools are registered using kebab case: id: 'gitlab-graphql-query', No workflows defined. Playground for some reason uses object key used in tools configuration object and tries to load workflow with this name. I have thread with those tool calls opened in playground. Tool result is rendered well in thread
3 Replies
Mastra Triager
GitHub
[DISCORD:1428295168565448755] playground tries to load not existent...
This issue was created from Discord post: https://discord.com/channels/1309558646228779139/1428295168565448755 My agent is defined as following: export const gitlabAgent = new Agent({ name: 'gi...
_roamin_
_roamin_5d ago
Hi @Guria ! When you say the playground tries to load the workflow, do you mean from the "workflows" tab?
Guria
GuriaOP5d ago
no. I am located on agent's particular thread display and observe failing network requests in developer tools sorry, I missed to attach screenshot

Did you find this page helpful?