From 585f502c3593a95038bda6f58c1b2c030c5caa01 Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Tue, 23 Sep 2025 12:04:52 +0200 Subject: [PATCH] [Platform][OpenAI] No alias --- src/platform/src/Bridge/OpenAi/PlatformFactory.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/platform/src/Bridge/OpenAi/PlatformFactory.php b/src/platform/src/Bridge/OpenAi/PlatformFactory.php index 3f91585f1..91b6f7aea 100644 --- a/src/platform/src/Bridge/OpenAi/PlatformFactory.php +++ b/src/platform/src/Bridge/OpenAi/PlatformFactory.php @@ -12,8 +12,6 @@ namespace Symfony\AI\Platform\Bridge\OpenAi; use Symfony\AI\Platform\Bridge\OpenAi\Contract\OpenAiContract; -use Symfony\AI\Platform\Bridge\OpenAi\Whisper\ModelClient as WhisperModelClient; -use Symfony\AI\Platform\Bridge\OpenAi\Whisper\ResultConverter as WhisperResponseConverter; use Symfony\AI\Platform\Contract; use Symfony\AI\Platform\Platform; use Symfony\Component\HttpClient\EventSourceHttpClient; @@ -40,13 +38,13 @@ public static function create( new Gpt\ModelClient($httpClient, $apiKey, $region), new Embeddings\ModelClient($httpClient, $apiKey, $region), new DallE\ModelClient($httpClient, $apiKey, $region), - new WhisperModelClient($httpClient, $apiKey, $region), + new Whisper\ModelClient($httpClient, $apiKey, $region), ], [ new Gpt\ResultConverter(), new Embeddings\ResultConverter(), new DallE\ResultConverter(), - new WhisperResponseConverter(), + new Whisper\ResultConverter(), ], $contract ?? OpenAiContract::create(), );