Apple Intelligence in Xcode with models hosted in Azure AI Foundry

I have managed to configure Apple Intelligence in Xcode to access my deployed models in Azure AI Foundry.

However, when I would try to chat with the selected model, I get the following error:

Message from Azure OpenAI: Failed request due to: bad request

Additional context:
{"error": {"code": "BadRequest", "message": "Response API v1 is in GA, please use remove api-version or use api-version=latest."}}

Is there a way to remove v1 from the endpoint used or to define an explicit api-version? Or do I have to change my deployment in Azure AI Foundry?

I'd make sure that the endpoint that you're configuring in Xcode settings complies with the industry Chat Completions specification.

— Ed Ford,  DTS Engineer

Apple Intelligence in Xcode with models hosted in Azure AI Foundry
 
 
Q