Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting error "AI provider openai not specified in configuration. Please run k8sgpt auth" while using k8sgpt cli with Azureopenai as backend #1074

Open
3 of 4 tasks
venkatest opened this issue Apr 7, 2024 · 4 comments

Comments

@venkatest
Copy link

Checklist

  • I've searched for similar issues and couldn't find anything matching
  • I've included steps to reproduce the behavior

Affected Components

  • K8sGPT (CLI)
  • K8sGPT Operator

K8sGPT Version

v0.3.29

Kubernetes Version

v1.29.1

Host OS and its Version

Windows

Steps to reproduce

image

k8sgpt auth default -p azureopenai

k8sgpt auth add --backend azureopenai --baseurl https://xxxxxx.openai.azure.com --engine gpt3-5 --model gpt-35-turbo

image

image

k8sgpt analyze --explain --filter=Pod

image

Expected behaviour

K8sgpt should give analyze results

Actual behaviour

Error: AI provider openai not specified in configuration. Please run k8sgpt auth

Additional Information

I checked this issue : k8sgpt-ai/k8sgpt-operator#98 but didnt help

@venkatest
Copy link
Author

venkatest commented Apr 8, 2024

Tested it on version 0.3.24 and it is working but not on 0.3.29
image

@JuHyung-Son
Copy link
Contributor

would you move this issue to k8sgpt repository?

@venkatest
Copy link
Author

Hi JuHyung-son, I dont have rights to transfer the issue to other repo. I think only the Org/repo owner can do it.

@JuHyung-Son JuHyung-Son transferred this issue from k8sgpt-ai/k8sgpt-operator Apr 20, 2024
@github-project-automation github-project-automation bot moved this to Proposed in Backlog Apr 20, 2024
@strowi
Copy link

strowi commented Sep 5, 2024

Having a similar issue with v0.3.40 + local ollama:

~> ollama serve &
~ » k8sgpt auth add --backend localai --model mistral --baseurl http://localhost:11434/v1
localai added to the AI backend provider list

~ » k8sgpt analyze --explain --filter=Service
Error: AI provider openai not specified in configuration. Please run k8sgpt auth

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Proposed
Development

No branches or pull requests

3 participants