Skip to content

AI SDK v4.1.12 introduces a breaking change for Morphic with multiple tool steps #418

@bass3l

Description

@bass3l

Currently, Morphic assumes that they are are two subsequent assistant messages, one contains the tool call or result and the second contains the LLM response.

AI SDK introduced a change with version v4.1.12 that merges the two messages into one with vercel/ai#4591 resulting in Morphic only showing the search tool result and no answer or related questions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions