- Issue created by @d0t101101
- πΊπΈUnited States kevinquillen
Thanks! Yes, a lot of things are changing rapidly while under development. The "Generator" module does need some work. We began swapping out the homemade client with the third party OpenAI PHP client for development speed and restructuring the modules. I have no doubt there could be some errors with that one module. I can take a look in the next few days and circle back.
- @kevinquillen opened merge request.
- Assigned to kevinquillen
- πΊπΈUnited States kevinquillen
Okay, I think the content generation has been fixed enough to be usable and demo. I did not touch the image generation, and the Drush command needs a little more tweaking, but it is now functional again. You will need to clear cache and restart your webserver (if using memory cache) because I changed some class names and routes.
-
kevinquillen β
committed 564f2cc7 on 1.0.x
Issue #3342260 by kevinquillen: 'open_ai' config related errors
-
kevinquillen β
committed 564f2cc7 on 1.0.x
- Status changed to Fixed
almost 2 years ago 5:16pm 16 February 2023 - πΊπΈUnited States kevinquillen
Closing immediate issue, will need to open new tickets on new bugs.
- πΊπΈUnited States d0t101101
@kevinquillen - thank you very much! Pulled the latest alpha2 and tested - working well over here now (minus the Media/Image generator, as you mentioned, this wasn't 'touched' just yet). Just for reference, filling in the Generators Media 'Image description' results in the following error ATM:
Error: Call to undefined method OpenAI\Client::getImageUrl() in Drupal\openai_api\Controller\GenerationController->getImageUrlResponseBodyData() (line 112 of /data/web/modules/contrib/openai/modules/openai_api/src/Controller/GenerationController.php).
Automatically closed - issue fixed for 2 weeks with no activity.