From d5301bc87a2556ec76d86daff06753150400fc4d Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Fri, 12 Sep 2025 10:11:42 +0200 Subject: [PATCH] [AiBundle] Replace symfony_ai tag prefix with ai. prefix Change lmstudio platform service ID and tag from 'symfony_ai' to 'ai.' to align with consistent naming convention used throughout the bundle. --- src/ai-bundle/src/AiBundle.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ai-bundle/src/AiBundle.php b/src/ai-bundle/src/AiBundle.php index 72bba0c20..21ff23804 100644 --- a/src/ai-bundle/src/AiBundle.php +++ b/src/ai-bundle/src/AiBundle.php @@ -383,7 +383,7 @@ private function processPlatformConfig(string $type, array $platform, ContainerB } if ('lmstudio' === $type) { - $platformId = 'symfony_ai.platform.lmstudio'; + $platformId = 'ai.platform.lmstudio'; $definition = (new Definition(Platform::class)) ->setFactory(LmStudioPlatformFactory::class.'::create') ->setLazy(true) @@ -393,7 +393,7 @@ private function processPlatformConfig(string $type, array $platform, ContainerB new Reference('http_client', ContainerInterface::NULL_ON_INVALID_REFERENCE), new Reference('ai.platform.contract.default'), ]) - ->addTag('symfony_ai.platform'); + ->addTag('ai.platform'); $container->setDefinition($platformId, $definition);