SwiftOpenAI
SwiftOpenAI copied to clipboard
AzureOpenAIConfiguration url construction
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.