Closed
Description
Description
I'm trying to call a tool. But getting this error:
Uncaught Exception: Error: write after end
at write_ (node:_http_outgoing:885:11)
at ServerResponse.write (node:_http_outgoing:838:15)
at read (D:\Work\folder\sourcing-core\node_modules\ai\core\util\write-to-server-response.ts:27:18)
at processTicksAndRejections (node:internal/process/task_queues:95:5) {
code: 'ERR_STREAM_WRITE_AFTER_END'
AI SDK Version
^4.3.15