k8sgpt-ai / k8sgpt

Giving Kubernetes Superpowers to everyone
http://k8sgpt.ai
Apache License 2.0
5.67k stars 652 forks source link

[Bug]: All backends using `gpt-3.5-turbo` as default model #1192

Open gyliu513 opened 2 months ago

gyliu513 commented 2 months ago

Checklist

Affected Components

K8sGPT Version

v0.3.38

Kubernetes Version

v1.30

Host OS and its Version

No response

Steps to reproduce

gyliu@guangyas-air k8sgpt % ./bin/k8sgpt auth add --backend watsonxai
Warning: model input is empty, will use the default value: gpt-3.5-turbo
Provider with same name already exists.
gyliu@guangyas-air k8sgpt % ./bin/k8sgpt auth add --backend localai
Warning: model input is empty, will use the default value: gpt-3.5-turbo
localai added to the AI backend provider list

From above, we can see both watrsonxai and localai settinng gpt-3.5-turbo as default model, this is not right.

Expected behaviour

Each LLM backend should have its own default model

Actual behaviour

No response

Additional Information

No response

AlexsJones commented 1 month ago

This is certainly something we could change

AlexsJones commented 6 hours ago

Can you give us a suggestion on the default models for backends? @gyliu513