Skip to content

Commit 3dac301

Browse files
committed
bug #917 [AI Bundle][Ollama] Fix configuration when a custom http_client is set (lyrixx)
This PR was merged into the main branch. Discussion ---------- [AI Bundle][Ollama] Fix configuration when a custom http_client is set | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | Docs? | no | Issues | Fix #766 | License | MIT cc `@Guikingone` Commits ------- fba3a0a [AiBundle] Fix ollama configuration when a custom http_client is set
2 parents 9addfdf + fba3a0a commit 3dac301

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
@@ -604,7 +604,7 @@ private function processPlatformConfig(string $type, array $platform, ContainerB
604604
->setLazy(true)
605605
->setArguments([
606606
$platform['host_url'],
607-
new Reference('http_client'),
607+
new Reference($platform['http_client']),
608608
]);
609609

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

0 commit comments

Comments
 (0)