Skip to content

Allow Custom OpenAI Base URL in Settings #120

@tomasmcm

Description

@tomasmcm

⚠️ 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions