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

[Bug]: generate command only provides static URL of openai #928

Open
3 of 4 tasks
amitamrutiya opened this issue Feb 8, 2024 · 0 comments · May be fixed by #945
Open
3 of 4 tasks

[Bug]: generate command only provides static URL of openai #928

amitamrutiya opened this issue Feb 8, 2024 · 0 comments · May be fixed by #945

Comments

@amitamrutiya
Copy link
Contributor

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.26

Kubernetes Version

v1.29.1

Host OS and its Version

Linux 22.04.3 LTS

Steps to reproduce

  1. Run the k8sgpt generate -b=azureopenai command to set up API keys.
  2. Note that the command outputs a static URL directing users to the OpenAI website for key generation, regardless of the selected backend provider.

Expected behaviour

The generate command should dynamically provide the appropriate URL for API key generation based on the selected backend provider. This would streamline the setup process and ensure that users are directed to the correct platform for generating the required API keys.

Actual behaviour

When running the k8sgpt generate command to set up API keys for backend providers other than OpenAI, then got a static URL directing them to the OpenAI website for key generation. This behaviour persists regardless of the chosen backend provider, leading to confusion and inefficiency in the setup process.

Additional Information

If this issue is looks valid, I would like to work on it.

@amitamrutiya amitamrutiya changed the title [Bug]: generate command only provides static URL for OpenAI key generation [Bug]: generate command only provides static URL of openai Feb 8, 2024
@amitamrutiya amitamrutiya linked a pull request Feb 11, 2024 that will close this issue
4 tasks
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

Successfully merging a pull request may close this issue.

1 participant