Skip to content

Commit 46edae0

Browse files
committed
fix(aibundle): improvement on OllamaPlatformFactory
1 parent 8cb4528 commit 46edae0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ai-bundle/src/AiBundle.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -300,9 +300,9 @@ private function processPlatformConfig(string $type, array $platform, ContainerB
300300
->setLazy(true)
301301
->addTag('proxy', ['interface' => PlatformInterface::class])
302302
->setArguments([
303-
0 => $platform['host_url'],
304-
2 => new Reference('http_client', ContainerInterface::NULL_ON_INVALID_REFERENCE),
305-
3 => new Reference('ai.platform.contract.ollama'),
303+
$platform['host_url'],
304+
new Reference('http_client', ContainerInterface::NULL_ON_INVALID_REFERENCE),
305+
new Reference('ai.platform.contract.ollama'),
306306
])
307307
->addTag('ai.platform');
308308

0 commit comments

Comments
 (0)