-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
AgentsIssues regarding Mastra's Agent primitiveIssues regarding Mastra's Agent primitiveToolsIssues with user made tools for Agent tool callingIssues with user made tools for Agent tool callingbugSomething isn't workingSomething isn't workingdiscordFor issues created from Discord discussions.For issues created from Discord discussions.effort:mediumimpact:hightrio-tb
Description
This issue was created from Discord post 1465700804320170072:
Issue:
After using writer.custom() in a tool, I cannot send new messages. Getting this error:
Unable to submit request because it must include at least one parts field, which describes the prompt input. Learn more: https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/gemini
Reproduction:
execute: async (inputData, { writer }) => {
await writer?.custom({
type: "data-chart",
data: inputData,
});
return { success: true };
}
After the tool executes and returns custom data parts, the next user message fails with the Gemini error above.
Metadata
Metadata
Assignees
Labels
AgentsIssues regarding Mastra's Agent primitiveIssues regarding Mastra's Agent primitiveToolsIssues with user made tools for Agent tool callingIssues with user made tools for Agent tool callingbugSomething isn't workingSomething isn't workingdiscordFor issues created from Discord discussions.For issues created from Discord discussions.effort:mediumimpact:hightrio-tb