Skip to content

Conversation

@felixfeng33
Copy link
Collaborator

Checklist

  • yarn typecheck
  • yarn lint:fix
  • yarn test
  • yarn brl
  • yarn changeset
  • ui changelog

@codesandbox
Copy link

codesandbox bot commented Oct 31, 2025

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

@changeset-bot
Copy link

changeset-bot bot commented Oct 31, 2025

⚠️ No Changeset found

Latest commit: d533693

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link

vercel bot commented Oct 31, 2025

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

Project Deployment Preview Comments Updated (UTC)
plate Canceled Canceled Oct 31, 2025 1:09pm

@dosubot dosubot bot added the size:XXL This PR changes 1000+ lines, ignoring generated files. label Oct 31, 2025
@claude
Copy link
Contributor

claude bot commented Oct 31, 2025

Claude encountered an error —— View job

Failed with exit code 128

I'll analyze this and get back to you.

@dosubot dosubot bot added the plugin:ai label Oct 31, 2025
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment on lines 187 to 191
const plugins = [
// ...otherPlugins,
AIPlugin.withComponent(AILeaf),
aiChatPlugin,
];

Choose a reason for hiding this comment

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

P1 Badge Restore Markdown plugin in manual setup

The manual configuration removes MarkdownKit/MarkdownPlugin from the plugin list even though the subsequent streaming code calls streamInsertChunk, which internally invokes editor.getApi(MarkdownPlugin) (see packages/ai/src/react/ai-chat/streaming/streamDeserializeMd.ts). Following this example as written will register only AIPlugin and AIChatPlugin, so the first streamed chunk will throw because no markdown plugin is registered to deserialize chunks. Please include the markdown plugin in the manual setup here (and in the CN doc) so the sample code runs without runtime errors.

Useful? React with 👍 / 👎.

@felixfeng33 felixfeng33 merged commit aa87176 into main Nov 1, 2025
9 checks passed
@felixfeng33 felixfeng33 deleted the ¨pdate-aiDocs branch November 1, 2025 01:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

plugin:ai size:XXL This PR changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants