Skip to content

Conversation

@AntoLC
Copy link
Collaborator

@AntoLC AntoLC commented Jan 30, 2026

Purpose

New AI feature powered by Blocknote. πŸš€

Proposal

  • Better UI
  • Possibility to revert what the AI made
  • Collaborative friendly - Other collaborators will see the AI changes only when changes are accepted

New Settings:

AI_BOT = values.DictValue(
       default={
           "name": _("Docs AI"),
           "color": "#8bc6ff",
       },
       environ_name="AI_BOT",
       environ_prefix=None,
   )
AI_MODEL = values.Value(None, environ_name="AI_MODEL", environ_prefix=None)
AI_STREAM = values.BooleanValue(
       default=False, environ_name="AI_STREAM", environ_prefix=None
)

AI_STREAM is a setting because not all model support the stream mode.

Careful

⚠️ This feature is under AGPL license.
You can still use the previous AI feature that is under MIT license.

Demo

scrnli_d3axj9UKFSv1f5.online-video-cutter.com.1.mp4

AntoLC and others added 7 commits January 30, 2026 10:32
Add AI proxy to handle AI related requests
to the AI service.
We make the AI bot configurable with settings.
We will be able to have different AI bot name
per instance.
We want to handle both streaming or not when interacting with the AI
backend service.
We integrate the new Blocknote AI feature
into Docs, enhancing the document editing experience
with AI capabilities.
AI feature is under AGPL license, so it is removed
when the project is under MIT license.
NEXT_PUBLIC_PUBLISH_AS_MIT manage this.
Bind ai_proxy abilities to the AI feature.
If ai_proxy is false, the AI feature will
not be available.
@socket-security
Copy link

socket-security bot commented Jan 30, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedzod@​3.25.28981007696100
Added@​blocknote/​xl-ai@​0.46.280100799870
Added@​ai-sdk/​openai@​3.0.19991008698100
Addedai@​6.0.499810010099100

View full report

@socket-security
Copy link

socket-security bot commented Jan 30, 2026

All alerts resolved. Learn more about Socket for GitHub.

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report

@github-actions
Copy link

github-actions bot commented Jan 30, 2026

Size Change: +51 B (0%)

Total Size: 4.2 MB

Filename Size Change
apps/impress/out/_next/static/2ccf508e/_buildManifest.js 0 B -831 B (removed) πŸ†
apps/impress/out/_next/static/chunks/3642.js 0 B -783 kB (removed) πŸ†
apps/impress/out/_next/static/chunks/7934.js 783 kB +783 kB (new file) πŸ†•
apps/impress/out/_next/static/chunks/8495.js 65.6 kB +683 B (+1.05%)
apps/impress/out/_next/static/css/1e509c66bde71be8.css 34.3 kB +34.3 kB (new file) πŸ†•
apps/impress/out/_next/static/css/baacd4c537066d47.css 0 B -34.1 kB (removed) πŸ†
apps/impress/out/_next/static/eb9bfb6b/_buildManifest.js 831 B +831 B (new file) πŸ†•

compressed-size-action

@AntoLC AntoLC self-assigned this Jan 30, 2026
@github-actions
Copy link

πŸš€ Preview will be available at https://1847-docs.ppr-docs.beta.numerique.gouv.fr/

You can use the existing account with these credentials:

  • username: docs
  • password: docs

You can also create a new account if you want to.

Once this Pull Request is merged, the preview will be destroyed.

@AntoLC AntoLC changed the title Feat/blocknote ai ✨ Blocknote AI Jan 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants