Skip to content

Separate "narration" text from the final answer #17986

Description

@daneatmastra

This issue was created from Discord post 1516182997437780181:

Open in Discord

Hi!,I use mastra supervisor with agent.stream() , The supervisor emits text between them ("let me check...", "now I'll do…"),

i want to stream everything to the user, but only to persist main response text (not the narrator text)

both come as text-delta, so I can't tell them apart by type.
is there a way to do that?
thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions