AI SDK·
Hiding tool call results from streamText in AI SDK
Before sending the response to the frontend, just modify the tool parts and hide their output. For example: `onFinish: async ({ messages, responseMessage }) => {` ` responseMessage.parts = res