Problem/Motivation
OpenAI apikey is longer than 128 chars so it can't be configured through the UI (admin/content/ai_image_generation_settings -> apikey).
128 is the default textfield maxlength (see #3331028: Increase default textfield #maxlength=128 to 256).
Steps to reproduce
Try to introduce a key longer than 128 chars.
Proposed resolution
Increase until 256 chars.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | apikey_increase_maxlength-3490280-2.patch | 420 bytes | manuelbermudez |
Issue fork ai_image_generation-3490280
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
manuelbermudez commentedHere is the patch.
Comment #4
manuelbermudez commentedCreated MR too.
Comment #5
tunic