Skip to content

Commit 9ad3eef

Browse files
committed
ref
1 parent 599c83d commit 9ad3eef

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/ai-bundle/src/AiBundle.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -420,11 +420,7 @@ private function processPlatformConfig(string $type, array $platform, ContainerB
420420
->setFactory(OllamaPlatformFactory::class.'::create')
421421
->setLazy(true)
422422
->addTag('proxy', ['interface' => PlatformInterface::class])
423-
->setArguments([
424-
$platform['host_url'],
425-
new Reference($platform['http_client'], ContainerInterface::NULL_ON_INVALID_REFERENCE),
426-
new Reference('ai.platform.contract.ollama'),
427-
])
423+
->setArguments($arguments)
428424
->addTag('ai.platform');
429425

430426
$container->setDefinition($platformId, $definition);

0 commit comments

Comments
 (0)