Skip to content

Native OpenAI Chat Completions chat model API on Azure #7220

@maff

Description

@maff

What should we do?

Add a native implementation for the azureOpenAi provider discriminator using the official OpenAI Java SDK with an Azure-flavored client. Support both API key auth and the full Entra ID / Client Credentials path that the existing LangChain4j implementation supports today.

Requirements:

  • Streaming-first internal driver, hardcoded capabilities, token usage, stop-reason mapping, error classification, JDK proxy transport — consistent with the openai/openaiCompatible implementation.
  • Auth: apiKey AND clientCredentials (Entra ID via Azure SDK identity), same fields as today's AzureAuthentication sealed type.

Why should we do it?

Day-one support for Azure OpenAI deployments via API key and Entra ID is a feature-parity requirement with the LangChain4j-backed implementation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    agentic-aikind:taskCategorizes an issue or PR as general maintenance, i.e. cleanup, refactoring, etc.

    Type

    Urgency

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions