litellm/tests/claude_code
mateo-berri c1955a15ca RALPH: fix compat matrix - Azure now hosts Claude via Microsoft Foundry
Anthropic and Microsoft announced Claude Haiku 4.5, Sonnet 4.5/4.6, and
Opus 4.1/4.6/4.7 in Microsoft Foundry on 2025-11-18, so the matrix's
Azure column should exercise a real route through the LiteLLM proxy
rather than report not_applicable.

Foundry serves Claude on an Anthropic-shape /anthropic/v1/messages
endpoint (not the Azure OpenAI chat-completions route), and LiteLLM
already supports it via the azure_ai/claude-* provider prefix
(litellm/llms/azure_ai/anthropic/{handler,transformation,messages_transformation}.py).

- test_config.yaml: add 3 azure aliases pointing at azure_ai/claude-*
  with AZURE_FOUNDRY_API_BASE / AZURE_FOUNDRY_API_KEY env
- 6x test_azure.py: replace not_applicable stubs with real run_claude
  drivers, mirroring the existing test_vertex_ai.py shape exactly
- sample_compatibility-matrix.json: Azure cells flip to pass
- _builder_unit_tests: pin the new invariant (run_claude is used,
  not_applicable is gone) and feed pass results across all 5 providers
  in the 6x5 golden test
2026-04-25 17:58:32 -07:00
..
_builder_unit_tests RALPH: fix compat matrix - Azure now hosts Claude via Microsoft Foundry 2026-04-25 17:58:32 -07:00
_driver_unit_tests RALPH: tracer-bullet for Claude Code compatibility matrix (#26477, PRD #26476) 2026-04-25 04:07:02 +00:00
_pr_gate_unit_tests RALPH: compat matrix slice 3 - wire PR gate in CircleCI (#26479, PRD #26476) 2026-04-25 05:05:18 +00:00
_publisher_unit_tests RALPH: compat matrix slice 4 - daily cron VM publishes matrix to docs (#26480, PRD #26476) 2026-04-25 05:03:16 +00:00
basic_messaging_non_streaming RALPH: fix compat matrix - Azure now hosts Claude via Microsoft Foundry 2026-04-25 17:58:32 -07:00
basic_messaging_streaming RALPH: fix compat matrix - Azure now hosts Claude via Microsoft Foundry 2026-04-25 17:58:32 -07:00
extended_thinking RALPH: fix compat matrix - Azure now hosts Claude via Microsoft Foundry 2026-04-25 17:58:32 -07:00
prompt_caching_5m RALPH: fix compat matrix - Azure now hosts Claude via Microsoft Foundry 2026-04-25 17:58:32 -07:00
tool_use RALPH: fix compat matrix - Azure now hosts Claude via Microsoft Foundry 2026-04-25 17:58:32 -07:00
vision RALPH: fix compat matrix - Azure now hosts Claude via Microsoft Foundry 2026-04-25 17:58:32 -07:00
__init__.py RALPH: tracer-bullet for Claude Code compatibility matrix (#26477, PRD #26476) 2026-04-25 04:07:02 +00:00
cli_driver.py RALPH: tracer-bullet for Claude Code compatibility matrix (#26477, PRD #26476) 2026-04-25 04:07:02 +00:00
conftest.py RALPH: tracer-bullet for Claude Code compatibility matrix (#26477, PRD #26476) 2026-04-25 04:07:02 +00:00
manifest.yaml RALPH: compat matrix slice 5 - add remaining 5 v0 features (full 6x5 grid) (#26481, PRD #26476) 2026-04-25 05:24:22 +00:00
matrix_builder.py RALPH: tracer-bullet for Claude Code compatibility matrix (#26477, PRD #26476) 2026-04-25 04:07:02 +00:00
pr_gate_version_resolver.py RALPH: compat matrix slice 3 - wire PR gate in CircleCI (#26479, PRD #26476) 2026-04-25 05:05:18 +00:00
publisher.py RALPH: compat matrix slice 4 - daily cron VM publishes matrix to docs (#26480, PRD #26476) 2026-04-25 05:03:16 +00:00
resolver.py RALPH: compat matrix slice 4 - daily cron VM publishes matrix to docs (#26480, PRD #26476) 2026-04-25 05:03:16 +00:00
sample_compatibility-matrix.json RALPH: fix compat matrix - Azure now hosts Claude via Microsoft Foundry 2026-04-25 17:58:32 -07:00
test_config.yaml RALPH: fix compat matrix - Azure now hosts Claude via Microsoft Foundry 2026-04-25 17:58:32 -07:00