# NousResearch/hermes-agent · Azure Foundry provider integration, auth, and model discovery

## Open now

- Nothing open on GitHub.

These issues and PRs concern adding Azure AI Foundry as a provider, fixing Bearer token authentication for Anthropic-style endpoints, and enabling model discovery in the model picker.

## TL;DR

- 10 member(s): 0 open issue(s), 4 closed issue(s), 0 open PR(s), 2 merged PR(s), 4 PR(s) closed without merging.
- A fix was merged to main in PR #28084. Verify it addresses your case.
- **Recommended:** read PR #28084 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `partially_resolved` · deciding PR(s): `pr-28084,pr-115770`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_PARTIAL`): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
- Members outside that structural core may belong to a different underlying problem.
- Pairwise link density `0.16`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Closed / duplicate issues

- #9580: Support Azure Foundry env vars for Anthropic/Claude Code integration?
- #26970: \[Bug\]: Azure Foundry provider sends x-api-key instead of Bearer auth for anthropic_messages endpoints (HTTP 401)
- #27989: /model picker shows 0 models for azure-foundry: provider_model_ids() has no azure-foundry branch (probe code already exists in azure_detect.py)
- #29414: Bug: auth_mode: api_key sends x-api-key instead of Bearer for Azure Foundry Anthropic-style endpoints (v0.14.0)

## Prior & competing PRs

- **#28084: fix(azure-foundry): send Bearer auth to anthropic_messages, keep 1M beta (salvage #27022)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `agent/anthropic_adapter.py`, `tests/agent/test_anthropic_adapter.py`
- **#115770: fix(models): /model picker lists Azure Foundry deployments instead of 0 models (#27989, salvage #28006 #107991 #72049)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `contributors/emails/[redacted:email]`, `hermes_cli/cli_model_switch_mixin.py`, `hermes_cli/model_switch_providers.py`, `hermes_cli/models.py`, `tests/hermes_cli/test_models.py`, `tests/hermes_cli/test_user_providers_model_switch.py`, `website/docs/guides/azure-foundry.md`
- **#27022: fix(auth): send Bearer auth for Azure Foundry \`anthropic_messages\` endpoints**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `73407b1e3`, `73407b1e3`, `f0c6d5914`, `#28084`
- **#28006: fix(models): probe azure-foundry deployments for the /model picker for #27989**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `64af0d1b0f46`, `#115770`, `#27989`, `#28006`, `#107991`, `#72049`
- **#28014: fix(models): live-discover azure-foundry deployments in /model picker (#27989)**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#27989`, `#28006`
- **#107991: Azure Foundry deployments show up in the /model picker (#27989, salvage #28006)**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `64af0d1b0f46`, `#115770`, `#27989`, `#28006`, `#107991`, `#72049`

## Fix status

- Merged to main in PR #28084 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-19`.
- Subsystem: `agent`
