Skip to content

Commit 59b3265

Browse files
committed
fix: Wrong method for Ollama model selection
1 parent c72b187 commit 59b3265

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platform/src/Bridge/Ollama/OllamaApiCatalog.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function getModel(string $modelName): Ollama
5858

5959
public function getModels(): array
6060
{
61-
$response = $this->httpClient->request('POST', \sprintf('%s/api/tags', $this->host));
61+
$response = $this->httpClient->request('GET', \sprintf('%s/api/tags', $this->host));
6262

6363
$models = $response->toArray();
6464

0 commit comments

Comments
 (0)