OpenAI API calls fail silently due to undefined $api_key variable.

Also valid OpenAI API keys rejected due to periods not being allowed in validation regex. for instance:
Regex /^[A-Za-z0-9-_]+$/ doesn't allow periods (.) which are present in OpenAI keys.

plus some more small fixes

Issue fork metatag_ai-3543530

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

doxigo created an issue. See original summary.

doxigo’s picture

Status: Active » Needs review
nx2611’s picture

Status: Needs review » Needs work

@doxigo You introduced formatting changes that are unnecessary. Kindly update so I can apply the change.

ankitv18 made their first commit to this issue’s fork.

ankitv18 changed the visibility of the branch 3543530-missing-api-key to hidden.

ankitv18’s picture

Status: Needs work » Needs review

MR!18 is ready for a review!!

nx2611’s picture

Status: Needs review » 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.