Skip to content

Commit

Permalink
fix: wrong default textProvider for settings controller
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Lötscher committed Jul 9, 2024
1 parent 0b65524 commit 0090246
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function loadDefaultsAction(): JsonResponse
$defaultsConfiguration = AiDefaultsConfiguration::getById(1);
if (!$defaultsConfiguration instanceof AiDefaultsConfiguration) {
$defaultsConfiguration = new AiDefaultsConfiguration();
$defaultsConfiguration->setTextProvider('openAi');
$defaultsConfiguration->setTextProvider('OpenAi');
$defaultsConfiguration->save();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ services:
class: Symfony\Component\DependencyInjection\ServiceLocator
arguments:
-
openAi: '@pimcore_ai_tools.provider.open_ai'
OpenAi: '@pimcore_ai_tools.provider.open_ai'
# midjourney: '@pimcore_ai_tools.provider.midjourney'
tags: ['container.service_locator']

0 comments on commit 0090246

Please sign in to comment.