Skip to content

Tool call is broken #6333

Closed
Closed
@zju1

Description

@zju1

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions