Skip to content

Commit d5301bc

Browse files
committed
[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.
1 parent 174e1e9 commit d5301bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ai-bundle/src/AiBundle.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ private function processPlatformConfig(string $type, array $platform, ContainerB
383383
}
384384

385385
if ('lmstudio' === $type) {
386-
$platformId = 'symfony_ai.platform.lmstudio';
386+
$platformId = 'ai.platform.lmstudio';
387387
$definition = (new Definition(Platform::class))
388388
->setFactory(LmStudioPlatformFactory::class.'::create')
389389
->setLazy(true)
@@ -393,7 +393,7 @@ private function processPlatformConfig(string $type, array $platform, ContainerB
393393
new Reference('http_client', ContainerInterface::NULL_ON_INVALID_REFERENCE),
394394
new Reference('ai.platform.contract.default'),
395395
])
396-
->addTag('symfony_ai.platform');
396+
->addTag('ai.platform');
397397

398398
$container->setDefinition($platformId, $definition);
399399

0 commit comments

Comments
 (0)