SwiftOpenAI icon indicating copy to clipboard operation
SwiftOpenAI copied to clipboard

AzureOpenAIConfiguration url construction

Open suljhana opened this issue 6 months ago • 1 comments

I think the issue is specifically with the URL construction in the DefaultOpenAIAzureService initialization. The format of Azure OpenAI endpoints is typically https://{resourceName}.openai.azure.com, but the code is constructing it as https://{resourceName}/openai.azure.com, which leads to an invalid URL structure.

suljhana avatar May 01 '25 19:05 suljhana