The role system, is not supported by Gemini Provider

Created on 16 September 2024, 5 days ago
Updated 19 September 2024, 1 day ago

Problem/Motivation

I got the error when using gemini provider in ckeditor translation.

Error invoking model response: The role system, is not supported by Gemini Provider.

Steps to reproduce

Install AI, ai_ckeditor and gemini_provider
configure textformat with Gemini provider
Use translation in chkeditor

Proposed resolution

Change "system" role to "model".

Remaining tasks

Not shure if it works with other providers. Hugging Face is working fine.

User interface changes

API changes

Change "system" to "model"

Data model changes

🐛 Bug report
Status

Closed: works as designed

Version

1.0

Component

Other Submodules

Created by

🇩🇪Germany thomas schuh

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

Comments & Activities

Production build 0.71.5 2024