Problem/Motivation

The text fields can't support the length of the new OpenAI API keys

Steps to reproduce

Create a new OpenAI API key, copy and paste it in the configuration form and save. The key is stored truncated due to the maximum characters limit of the text field control

Proposed resolution

Change the textfield into a textarea control

Remaining tasks

User interface changes

API changes

Data model changes

The issue is similar to https://www.drupal.org/project/openai/issues/3465426

CommentFileSizeAuthor
#3 3481140-01.patch928 bytesskounis

Issue fork metatag_ai-3481140

Command icon 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

skounis created an issue. See original summary.

skounis’s picture

StatusFileSize
new928 bytes
venkatesh rajan.j’s picture

The patch applied correctly and the config form now accepts longer tokens. Thanks.

venkatesh rajan.j’s picture

Status: Active » Reviewed & tested by the community
nx2611’s picture

Status: Reviewed & tested by the community » Fixed

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.