Skip to content

ag-ui-adk validation error for TextMessageContentEvent if combined_text is emptyΒ #734

@BnnaFish

Description

@BnnaFish

Delta could be empty string. And there is a check for this scenario

But previously TextMessageContentEvent requires non-empty string and there is no filter for that. So pydentic error is raised

Empty text is used for stream event, e.g. finish_reason=<FinishReason.STOP: 'STOP'>
So this is a valid event.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions