extensions icon indicating copy to clipboard operation
extensions copied to clipboard

OpenAI tests are hardcoding model names rather than using the specified model

Open ericstj opened this issue 2 weeks ago • 0 comments

This is breaking testing on Azure OpenAI when the hardcoded model is not deployed.

https://github.com/search?q=repo%3Adotnet%2Fextensions+gpt-4o-mini+language%3AC%23+path%3Atest%2FLibraries&type=code

https://github.com/dotnet/extensions/blob/20db54162d1acfc811921a1fa9c3088c729db202/test/Libraries/Microsoft.Extensions.AI.OpenAI.Tests/OpenAIChatClientTests.cs#L151 https://github.com/dotnet/extensions/blob/20db54162d1acfc811921a1fa9c3088c729db202/test/Libraries/Microsoft.Extensions.AI.OpenAI.Tests/OpenAIResponseClientTests.cs#L149

Etc

ericstj avatar Dec 12 '25 20:12 ericstj