Skip to content

Add Azure AI Foundry Endpoint Support#162

Open
3ba2ii wants to merge 1 commit intovirattt:mainfrom
3ba2ii:add-azure-openai-support
Open

Add Azure AI Foundry Endpoint Support#162
3ba2ii wants to merge 1 commit intovirattt:mainfrom
3ba2ii:add-azure-openai-support

Conversation

@3ba2ii
Copy link

@3ba2ii 3ba2ii commented Feb 25, 2026

Summary

This PR adds support to Azure AI Foundry models which provide access to 11333 models from different vendors (OpenAI, Anthropic, Meta, etc.).

What changed

  • Added azure provider registration and routing.
  • Wired Azure model creation with deployment-based model IDs (azure:<deployment-name>).
  • Added Azure env vars:
    • AZURE_OPENAI_API_KEY
    • AZURE_OPENAI_ENDPOINT
  • Updated /model flow so Azure uses custom deployment-name input (similar to OpenRouter custom input).
  • Updated model display normalization so azure: prefixes render cleanly.
  • Updated docs (env.example, README.md) with Azure setup examples.

Validation

  • Verified Azure-related files compile cleanly.
  • Note: workspace bun run typecheck still reports an unrelated pre-existing error in Exa search typing.

Why

This enables users running Azure-hosted OpenAI deployments to use Dexter without code changes, while preserving existing provider behavior.

@virattt
Copy link
Owner

virattt commented Feb 25, 2026

Hi @3ba2ii - thanks for the PR. How does Azure-hosted OpenAI work vs. OpenAI? Is it just a different provider of OpenAI? The reason I ask is we're trying to limit the amount of providers, boilerplate, etc. that we're adding to the codebase

@3ba2ii
Copy link
Author

3ba2ii commented Feb 25, 2026

Thanks @virattt, This adds support for Azure AI foundry endpoint, it just enables calling models through Azure’s API surface (different auth and endpoint semantics) with support to many other models by different providers (OpenAI, Anthropic, Meta, etc.). For example, the following screenshot is running Kimi-K2.5 model through Azure's abstraction layer, So the main goal of this PR is to add support to multiple different models through a single abstraction layer and allow users with active azure subscriptions to utilize the tool.
image

You can find the model catalog here: https://ai.azure.com/catalog/models

The confusion may come from the fact that Azure Foundry endpoints can also be accessed via the regular OpenAI SDK, I can update the PR title and description to list that this is using adding integration with Azure AI foundry layer.

@3ba2ii 3ba2ii changed the title Add Azure OpenAI support with environment variable configuration Add Azure AI Foundry Support Providing Access to Many Different Models Feb 26, 2026
@3ba2ii 3ba2ii changed the title Add Azure AI Foundry Support Providing Access to Many Different Models Add Azure AI Foundry Endpoint Support Feb 26, 2026
@3ba2ii
Copy link
Author

3ba2ii commented Mar 1, 2026

Hi @virattt, Did you get a chance to review the PR? Happy to hear your comments, Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants