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

[Question]: Add additional parameters to the the auth module for openai #1245

Open
3 of 4 tasks
jcapril opened this issue Sep 11, 2024 · 0 comments
Open
3 of 4 tasks

Comments

@jcapril
Copy link

jcapril commented Sep 11, 2024

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

No response

Kubernetes Version

No response

Host OS and its Version

No response

Steps to reproduce

Need to use Azure open AI as the backend. We have a organizational limitation of having an additional parameter for accessing the Azure open AI which is "sub_key". How we can add this additional parameters in the auth module

bash k8sgpt auth add --backend azureopenai --baseurl https:// --engine <deployment_name> --model <model_name>

Looking for adding one more parameter --sub_key here in the auth module like

bash k8sgpt auth add --backend azureopenai --baseurl https:// --engine <deployment_name> --model <model_name> --sub_key<sub_key_value>

Expected behaviour

Allow to add additional parameters to authorize the backend

like
bash k8sgpt auth add --backend azureopenai --baseurl https:// --engine <deployment_name> --model <model_name> --sub_key<sub_key_value>

Actual behaviour

Authorization error as we have the limitation for additional keys to access the azure openai

Additional Information

No response

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

1 participant