Skip to content

Commit 4f62464

Browse files
authored
Merge pull request #119 from ppatierno/patch-1
Fixed Ollama base URL
2 parents 0c38c83 + f2929a2 commit 4f62464

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/reference/providers/backend.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ Ollama is a local model, which has an OpenAI compatible API. It supports the mod
202202
- To start the API server, follow the instruction in the [Ollama docs](https://github.com/ollama/ollama?tab=readme-ov-file#quickstart).
203203
- Authenticate K8sGPT with LocalAI:
204204
```bash
205-
k8sgpt auth add --backend localai --model <model_name> --baseurl http://localhost:11434/v1
205+
k8sgpt auth add --backend localai --model <model_name> --baseurl http://localhost:11434
206206
```
207207
- Analyze with a LocalAI backend:
208208
```bash
@@ -224,7 +224,7 @@ Ollama can get up and running locally with large language models. It runs Llama
224224
225225
- Authenticate K8sGPT with Ollama:
226226
```bash
227-
k8sgpt auth add --backend ollama --model llama2 --baseurl http://localhost:11434/v1
227+
k8sgpt auth add --backend ollama --model llama2 --baseurl http://localhost:11434
228228
```
229229
- Analyze with a Ollama backend:
230230
```bash

0 commit comments

Comments
 (0)