You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! Do you have any ideas or suggestions for implementation? I think it would be useful to have an extra parameter (e.g., k8sgpt auth add .... --check), but it seems that not all providers (including OpenAI) offer a route to test if an API key is valid without opening a client, etc.
@matthisholleville yes, I have same thinking as you, how about just call a simple generate API with prompt as hello world for different vendor platforms?
Checklist
Affected Components
K8sGPT Version
v0.3.37
Kubernetes Version
v1.21
Host OS and its Version
No response
Steps to reproduce
--explain
to trigger AI backendExpected behaviour
Can k8sgpt report errors when adding an invalid auth?
Actual behaviour
No error with invalid auth, and customer will got errors when running k8sgpt explain.
Additional Information
No response
The text was updated successfully, but these errors were encountered: