mirror of
https://github.com/k8sgpt-ai/k8sgpt.git
synced 2025-08-01 07:34:49 +00:00
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:
parent
a23276d3ff
commit
40fbba7df1
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user