Merge pull request #516 from samhvw8/feat/use-azure-openai

feat: add explicit Azure OpenAI flag
This commit is contained in:
Matt Rubens
2025-01-23 09:25:41 -08:00
committed by GitHub
4 changed files with 17 additions and 1 deletions

View File

@@ -536,6 +536,15 @@ const ApiOptions = ({ apiErrorMessage, modelIdErrorMessage }: ApiOptionsProps) =
Enable streaming
</Checkbox>
</div>
<Checkbox
checked={apiConfiguration?.openAiUseAzure ?? false}
onChange={(checked: boolean) => {
handleInputChange("openAiUseAzure")({
target: { value: checked },
})
}}>
Use Azure
</Checkbox>
<Checkbox
checked={azureApiVersionSelected}
onChange={(checked: boolean) => {