Skip to content
Snippets Groups Projects

Issue #3427583: Fix not found URL by adding the Complete Base Url for the link to `OpenAI settings configuration here` in the not provided an OpenAI API key yet error message

Open Issue #3427583: Fix not found URL by adding the Complete Base Url for the link to `OpenAI settings configuration here` in the not provided an OpenAI API key yet error message
2 files
+ 2
2
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -38,7 +38,7 @@ final class OpenAIEventSubscriber implements EventSubscriberInterface {
$message = $this->t('You have not provided an OpenAI API key yet. This is required for its functionality to work. Please obtain an API key from <a href=":account">your OpenAI account</a> and add it to the <a href=":settings">OpenAI settings configuration here</a>.',
[
':account' => 'https://platform.openai.com/',
':settings' => '/admin/config/openai/settings'
':settings' => $event->getRequest()->getSchemeAndHttpHost() . $event->getRequest()->getBaseUrl() . '/admin/config/openai/settings',
],
);
Loading