Support for Microsoft Foundry AI provider

Hello,

I have recently started working with AI studio, but I have detected that the URL(s) for AI services are hardcoded as consts inside the sources. That is unfortunate, because the MS Foundry service provides AI models of many vendors with their API, eg. for OpenAI models it uses OpenAI API at URL: #project-name#.services.ai.azure.com/openai/v1/responses
I have tried to override the Host and Path in the OnRequestStarted event, but this only works for the first request, and fails when MCP tool invocations are included. Would it be possible to extend the settings to allow custom URLs?

Thank you, regards from Prague.

Jaroslav

At this moment OpenAI URLs are set via consts as this is targeted at using their services. We'll reflect on adding an additional service assuming it will have OpenAI compatible AI at a different URL and make this URL customizable. We'll consider such extension for a future version of TMS AI Studio.

That's good news; thank you for your understanding.

Regards from Prague,

Jaroslav