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

Allow Custom OpenAI Base URL in Settings #120

Open
1 task done
tomasmcm opened this issue Sep 17, 2024 · 0 comments
Open
1 task done

Allow Custom OpenAI Base URL in Settings #120

tomasmcm opened this issue Sep 17, 2024 · 0 comments

Comments

@tomasmcm
Copy link

⚠️ Check for existing issues before proceeding. ⚠️

  • I have searched the existing issues, and there is no existing issue for my problem

Where are you using SuperCoder?

Cloud

Which branch of SuperCoder are you using?

Cloud Version

Which area covers your issue best?

Installation and setup

Describe your issue.

I need to be able to set a custom base url for the OpenAI API to be able to use Azure OpenAI with SuperCoder.
I was able to get it working by manually changing the apiBaseUrl in NewOpenAiClient (app/llms/open_ai.go), but it would be better to pass that as a parameter like the apiKey.

How to replicate your Issue?

No response

Upload Error Log Content

https://developer.superagi.com/settings

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

No branches or pull requests

1 participant