Skip to content

Commit fba3a0a

Browse files
committed
[AiBundle] Fix ollama configuration when a custom http_client is set
1 parent ff7e808 commit fba3a0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ai-bundle/src/AiBundle.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ private function processPlatformConfig(string $type, array $platform, ContainerB
575575
->setLazy(true)
576576
->setArguments([
577577
$platform['host_url'],
578-
new Reference('http_client'),
578+
new Reference($platform['http_client']),
579579
]);
580580

581581
$container->setDefinition('ai.platform.model_catalog.ollama', $catalogDefinition);

0 commit comments

Comments
 (0)