- Issue created by @marcusvsouza
- First commit to issue fork.
- Status changed to Closed: works as designed
over 1 year ago 6:54pm 27 April 2023 - πΊπΈUnited States selwynpolit
I'm seeing an AJAX error on my fresh Drupal site running with DDEV any time I try to use the OpenAI Prompt Explorer and click the "Ask OpenAI" button.
I would love to know what kind of configuration error caused this. I have put an API key in as well as an Org ID. I have updated the config.yaml file to have:
webserver_type: apache-fpm
I've also added the file .ddev/apache/apache-streaming.conf with these contents.
# Per OpenAI README.md <IfModule proxy_fcgi_module> <Proxy "fcgi://localhost/" enablereuse=on flushpackets=on max=10> </Proxy> </IfModule>
Suggestions welcome. I'd really like to try out all the new AI magic this module has to offer.
- Status changed to Active
about 1 year ago 10:25pm 8 September 2023 - πΊπΈUnited States selwynpolit
And it appears that the answer was to give OpenAI some money. That fixed it. Hopefully this saves someone else some time. Closing this ticket.
- Status changed to Closed: works as designed
about 1 year ago 10:48pm 8 September 2023 - πΊπΈUnited States selwynpolit
Perhaps a feature request might be in order to display a message to the user that they need to pay OpenAI (rather than an ajax error)