From ad123b6de7c73bb64d95fa2029db7828c24bbf37 Mon Sep 17 00:00:00 2001 From: Julien Veyssier Date: Thu, 20 Jun 2024 12:22:23 +0200 Subject: [PATCH] fix task processing provider names Signed-off-by: Julien Veyssier --- lib/TaskProcessing/HeadlineProvider.php | 2 +- lib/TaskProcessing/STTProvider.php | 2 +- lib/TaskProcessing/SummaryProvider.php | 2 +- lib/TaskProcessing/TextToTextProvider.php | 2 +- lib/TaskProcessing/TopicsProvider.php | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/TaskProcessing/HeadlineProvider.php b/lib/TaskProcessing/HeadlineProvider.php index e8971e34..bd68ba93 100644 --- a/lib/TaskProcessing/HeadlineProvider.php +++ b/lib/TaskProcessing/HeadlineProvider.php @@ -32,7 +32,7 @@ public function getId(): string { } public function getName(): string { - return $this->openAiAPIService->getServiceName() . '-sync'; + return $this->openAiAPIService->getServiceName(); } public function getTaskTypeId(): string { diff --git a/lib/TaskProcessing/STTProvider.php b/lib/TaskProcessing/STTProvider.php index 1b49c172..8b478eb2 100644 --- a/lib/TaskProcessing/STTProvider.php +++ b/lib/TaskProcessing/STTProvider.php @@ -29,7 +29,7 @@ public function getId(): string { } public function getName(): string { - return $this->openAiAPIService->getServiceName() . '-sync'; + return $this->openAiAPIService->getServiceName(); } public function getTaskTypeId(): string { diff --git a/lib/TaskProcessing/SummaryProvider.php b/lib/TaskProcessing/SummaryProvider.php index f677fd2b..51fe29db 100644 --- a/lib/TaskProcessing/SummaryProvider.php +++ b/lib/TaskProcessing/SummaryProvider.php @@ -32,7 +32,7 @@ public function getId(): string { } public function getName(): string { - return $this->openAiAPIService->getServiceName() . '-sync'; + return $this->openAiAPIService->getServiceName(); } public function getTaskTypeId(): string { diff --git a/lib/TaskProcessing/TextToTextProvider.php b/lib/TaskProcessing/TextToTextProvider.php index d2e4f62b..a455febb 100644 --- a/lib/TaskProcessing/TextToTextProvider.php +++ b/lib/TaskProcessing/TextToTextProvider.php @@ -32,7 +32,7 @@ public function getId(): string { } public function getName(): string { - return $this->openAiAPIService->getServiceName() . '-sync'; + return $this->openAiAPIService->getServiceName(); } public function getTaskTypeId(): string { diff --git a/lib/TaskProcessing/TopicsProvider.php b/lib/TaskProcessing/TopicsProvider.php index eb39ace2..8a47cb19 100644 --- a/lib/TaskProcessing/TopicsProvider.php +++ b/lib/TaskProcessing/TopicsProvider.php @@ -32,7 +32,7 @@ public function getId(): string { } public function getName(): string { - return $this->openAiAPIService->getServiceName() . '-sync'; + return $this->openAiAPIService->getServiceName(); } public function getTaskTypeId(): string {