Skip to content

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

@ericstj

Description

@ericstj

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

using IChatClient client = CreateChatClient(httpClient, "gpt-4o-mini");

using IChatClient client = CreateResponseClient(httpClient, "gpt-4o-mini");

Etc

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-aiMicrosoft.Extensions.AI librariesuntriaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions