Skip to content

Thinking Start & End events not supported by EventSchemasΒ #289

@nicholasrice

Description

@nicholasrice

Hello! A bug/question for ya'll.

I noticed doing some experimentation that the EventSchemas parser will throw when attempting to parse THINKING_START and THINKING_END event types. It seems to only support THINKING_TEXT_MESSAGE_START, THINKING_TEXT_MESSAGE_CONTENT, and THINKING_TEXT_MESSAGE_END event types. The @ag-ui/core library does expose specific schemas that parse THINKING_START and THINKING_END event-types though.

It got me thinking maybe THINKING_START and THINKING_END events are deprecated but not indicated so in code?

More generally, I don't see any documentation about the thinking events in AGUI documentation, so I wasn't sure what the state of those event types were.

See min-repro here: https://stackblitz.com/edit/stackblitz-starters-15zqkndn?file=index.js

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