Error while adding openAI provider

Created on 22 December 2024, 3 days ago

Hello,

I'm trying this module. I stored a new OpenAI key, but when I added it and clicked on "Save Configuration," I got this error:

The website encountered an unexpected error. Try again later.
Error: Class "OpenAI" not found in Drupal\ai_provider_openai\Form\OpenAiConfigForm->validateForm() (line 106 of modules/ai_provider_openai/src/Form/OpenAiConfigForm.php).

thank you for your help

🐛 Bug report
Status

Active

Version

1.0

Component

User interface

Created by

🇲🇦Morocco lakhal

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

Comments & Activities

Production build 0.71.5 2024