Skip to content

[JS] gemini thinking parts are incorrectly handled in the final/aggregated result when streaming #3180

Open
@pavelgj

Description

@pavelgj

The streamed chunks are correct:

Image

But the final result (with aggregated parts) does not correctly convert thinking parts to Genkit reasoning parts.

Image

This is reproducible with #3179

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingjs

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions