diff --git a/src/engine/ollama.ts b/src/engine/ollama.ts index 885eca8f..0347fc63 100644 --- a/src/engine/ollama.ts +++ b/src/engine/ollama.ts @@ -28,7 +28,10 @@ export class OllamaAi implements AiEngine { stream: false }; try { - const response = await this.client.post('', params); + const response = await this.client.post( + this.client.getUri(this.config), + params + ); const message = response.data.message;