CKEditor AI Assistant support

Created on 22 November 2024, 28 days ago

Problem/Motivation

Looks like the Gemini provider doesn't work with the AI Assistant currently.

Steps to reproduce

Use the Gemini provider for any of the "AI tools" in text format configuration. Using the AI Assistant in CKEditor will not give any error but no output to the editor either.
See the screenshot for the AI log entries, I first used OpenAI and it streamed the response nicely to the editor dialog. With Gemini the response is different. I tested other tools also than just summarize with the same result.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇫🇮Finland merilainen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @merilainen
  • 🇬🇪Georgia jibla

    Thank you for reporting. Will check and push the fix.

  • 🇬🇪Georgia jibla

    The reason is that streaming is not yet supported and AI tools are requesting streamed outputs. We are working on this and it will be part of next release. Will notify here.

  • 🇬🇪Georgia jibla

    I have implemented to streamed outputs and its fixed in dev release. I have tested with AI tools (ckeditor, summaries, suggestions etc) and it looks fine.

    @merilainen I'd appreciate if you would have time to test it.

    I'll soon release next alpha.

  • 🇫🇮Finland merilainen

    Tested with the latest dev version, worked like a charm! Marking RTBC since this is already in dev.

Production build 0.71.5 2024