Skip to content

Commit 7b9e334

Browse files
committed
bug #533 [AiBundle][LMStudio] Replace symfony_ai. tag prefix with ai. prefix (OskarStark)
This PR was merged into the main branch. Discussion ---------- [AiBundle][LMStudio] Replace `symfony_ai.` tag prefix with `ai.` prefix | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | Docs? | no | Issues | -- | License | MIT Change lmstudio platform service ID and tag from 'symfony_ai' to 'ai.' to align with consistent naming convention used throughout the bundle. Commits ------- d5301bc [AiBundle] Replace symfony_ai tag prefix with ai. prefix
2 parents 174e1e9 + d5301bc commit 7b9e334

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)