feat: Add OpenAI Provider Selection
Add a provider selection dropdown to the OpenAI settings, enabling users to choose from pre-configured options like "Azure" or "Custom." This streamlines setup and allows for more flexibility in configuring OpenAI API endpoints. The dropdown pre-populates base URLs and names based on the selected provider. The dropdown also automatically populates base URLs and names based on the selected provider, further simplifying the configuration process.
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
},
|
||||
"baseUrl": {
|
||||
"label": "Base URL",
|
||||
"help": "The base URL of the OpenAI API provider. eg (http://loocalhost:8080/v1)",
|
||||
"help": "The base URL of the OpenAI API provider. eg (http://localhost:1234/v1)",
|
||||
"required": "Base URL is required.",
|
||||
"placeholder": "Enter base URL"
|
||||
},
|
||||
@@ -58,5 +58,6 @@
|
||||
"confirm": {
|
||||
"delete": "Are you sure you want to delete this model?"
|
||||
}
|
||||
}
|
||||
},
|
||||
"noModelFound": "No model found. Make sure you have added correct provider with base URL and API key."
|
||||
}
|
||||
Reference in New Issue
Block a user