BlockNote AI table generation is unstable; long tables fail with ChunkExecutionError
@YousefED đang làm issue này rồi.
Từ ngày 16/2/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Description
While using BlockNote AI to generate tables, I encountered two related issues.
Both issues are reproducible in the official AI Playground.
AI Playground:
https://www.blocknotejs.org/examples/ai/playground
Versions
{
"@blocknote/core": "^0.45.0",
"@blocknote/mantine": "^0.45.0",
"@blocknote/react": "^0.45.0",
"@blocknote/xl-ai": "^0.45.0"
}
Issue 1: Table generation is unreliable
Whenever the prompt asks the AI to generate a table, there is a non-deterministic failure rate.
Even for short tables, the AI sometimes fails immediately and shows an error instead of producing a table block.
Issue 2: Long tables fail during generation
When asking the AI to generate larger or longer tables (e.g. more rows or more content per cell), the generation process is interrupted and consistently fails.
Observed Error
ChunkExecutionError: Tool execution failed: Slice has openStart or openEnd > 0, but structure=false
Partial error object
{
result: {
error: ChunkExecutionError: Tool execution failed: Slice has openStart or openEnd > 0, but structure=false
},
chatStatus: "ready",
chatError: undefined
}
The stack trace points to BlockNote’s internal transform / execute logic, suggesting a structural issue during streaming or chunk application.
Steps to Reproduce
- Open the official BlockNote AI Playground
- Enter a prompt asking the AI to generate a table
- Short table (few rows): sometimes succeeds, sometimes errors
- Long table (many rows / larger content): generation consistently fails mid-process
- The table block is not fully created
Expected Behavior
- AI table generation should be stable or at least retryable
- Long tables should not break the ProseMirror document structure during streaming
Actual Behavior
- Table generation is unstable
- Long tables fail with a
ChunkExecutionErrorand interrupt the generation process
Additional Notes
- Manual table insertion works correctly
- The issue only occurs when using BlockNote AI (
@blocknote/xl-ai) - This appears to be related to streaming chunk handling and incomplete table slice structure (
structure=false)
- Ngôn ngữ chính
- TypeScript
- Star
- 10.2k
- Fork
- 772
- Merge trung bình
- 3 ngày 11 giờ
- Pull request đã merge (30 ngày)
- 17
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của TypeCellOS/BlockNote
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
TypeCellOS/BlockNote#3098 ·
-
Off-By-One `RangeError` Crash and Text Duplication in `StyleManager.editLink` and `deleteLink` Đang mởneeds-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
TypeCellOS/BlockNote#3073 ·
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
TypeCellOS/BlockNote#3072 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
TypeCellOS/BlockNote#2949 · 1 bình luận ·
-
a11y
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
TypeCellOS/BlockNote#2855 ·
Tất cả issue của TypeCellOS/BlockNote
Issue tương tự
-
comp/dashboard P3 type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
NousResearch/hermes-agent#117722 ·
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 76/100
-
code-quality refactoring
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
langchain-ai/deepagents#6450 ·