Skip to content

Refactor events to be more consistent#208

Merged
anbuzin merged 2 commits into
mainfrom
refactor-events
Jul 10, 2026
Merged

Refactor events to be more consistent#208
anbuzin merged 2 commits into
mainfrom
refactor-events

Conversation

@anbuzin

@anbuzin anbuzin commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@vercel

vercel Bot commented Jul 10, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ai-python Ready Ready Preview, Comment Jul 10, 2026 8:45pm

@vercel vercel Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Additional Suggestion:

The ai.events reference doc documents a stale event hierarchy: it claims model stream events inherit from BaseEvent (they now inherit from ModelEvent) and lists several symbols (DiscriminatedEvent, AgentMessageEvent, TerminalEvent, HookSuspension, HookResolution) that no longer exist.

Fix on Vercel

@anbuzin
anbuzin requested a review from msullivan July 10, 2026 17:00

@msullivan msullivan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Follow up on the docs update that the vercel bot suggests

@anbuzin
anbuzin merged commit e97150e into main Jul 10, 2026
7 checks passed
@anbuzin
anbuzin deleted the refactor-events branch July 10, 2026 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants