docs: fix add localai command in readme.md (#494)

Signed-off-by: zibai <zibai.gj@alibaba-inc.com>
Co-authored-by: zibai <zibai.gj@alibaba-inc.com>
This commit is contained in:
gujing 2023-06-12 17:14:16 +08:00 committed by GitHub
parent a23276d3ff
commit 40fbba7df1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -292,10 +292,10 @@ To start the API server, follow the instruction in [LocalAI](https://github.com/
### Run k8sgpt
To run k8sgpt, run `k8sgpt auth new` with the `localai` backend:
To run k8sgpt, run `k8sgpt auth add` with the `localai` backend:
```
k8sgpt auth new --backend localai --model <model_name> --baseurl http://localhost:8080/v1
k8sgpt auth add --backend localai --model <model_name> --baseurl http://localhost:8080/v1
```
Now you can analyze with the `localai` backend: