Skip to content

fix: make validation errors recoverable by LLM - #2054

Merged
nperez0111 merged 2 commits into
mainfrom
fix/ai-validation-error
Dec 9, 2025
Merged

nperez0111 merged 2 commits into
mainfrom
fix/ai-validation-error

Conversation

@YousefED

@YousefED YousefED commented Oct 2, 2025

Copy link
Copy Markdown
Collaborator

This makes sure when validation errors occur (and specifically if an LLM omits the type of an operation), this error will bubble up to the error handler correctly. This gives the LLM the right info to "retry" the operation and recover the error when the user requests this

@vercel

vercel Bot commented Oct 2, 2025 •

Copy link
Copy Markdown

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

Project Deployment Preview Updated (UTC)
blocknote Ready Ready Preview Dec 5, 2025 9:30pm
blocknote-agent-demo Error Error Dec 5, 2025 9:30pm
blocknote-website Ready Ready Preview Dec 5, 2025 9:30pm

@pkg-pr-new

pkg-pr-new Bot commented Oct 2, 2025 •

Copy link
Copy Markdown

Open in StackBlitz

@blocknote/ariakit

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/ariakit@2054

@blocknote/code-block

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/code-block@2054

@blocknote/core

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/core@2054

@blocknote/mantine

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/mantine@2054

@blocknote/react

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/react@2054

@blocknote/server-util

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/server-util@2054

@blocknote/shadcn

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/shadcn@2054

@blocknote/xl-ai

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/xl-ai@2054

@blocknote/xl-docx-exporter

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/xl-docx-exporter@2054

@blocknote/xl-email-exporter

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/xl-email-exporter@2054

@blocknote/xl-multi-column

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/xl-multi-column@2054

@blocknote/xl-odt-exporter

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/xl-odt-exporter@2054

@blocknote/xl-pdf-exporter

npm i https://pkg.pr.new/TypeCellOS/BlockNote/@blocknote/xl-pdf-exporter@2054

commit: b875a4f

@YousefED

YousefED commented Dec 5, 2025

Copy link
Copy Markdown
Collaborator Author

Most of this already landed in an earlier refactor, but still nice to remove the deprecated function + tests and improved error formatting

@nperez0111
nperez0111 merged commit e0a2de2 into main Dec 9, 2025
9 of 10 checks passed
@nperez0111
nperez0111 deleted the fix/ai-validation-error branch December 9, 2025 08:46

This branch was successfully deployed

2 active and 1 inactive deployments
Preview – blocknote-website — b875a4f2 Deployed Dec 5, 2025 by vercel[bot]
Preview – blocknote — b875a4f2 Deployed Dec 5, 2025 by vercel[bot]
Preview – blocknote-agent-demo — b875a4f2 Deployed Dec 5, 2025 by vercel[bot]
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