Proof Portal

Project overview

litellm

BerriAI117 findings · 107 requirements

LiteLLM Python->Rust migration audit (proof mirroring).

93 withheld (location undisclosed)

All requirements
RequirementSTK-REQ-260802-0SQCStakeholderDraft

As a LiteLLM user, I need the Azure AI Foundry Anthropic /v1/messages passthrough to authenticate my request with Azure credentials (an x-api-key header, or an Entra ID Bearer token), target the correct Azure Foundry /anthropic/v1/messages endpoint, fold any role=system messages into the top-level system field and strip the unsupported cache_control scope field, and reject a missing api_base with a clear error, so that I can call Claude models hosted on Azure AI Foundry through the native Anthropic messages API reliably

All automated checks pass and 1/1 obligations are satisfied. Human review is still pending.
PriorityshallTypeguaranteeCategoryfunctionalComponentazure_messagesAssuranceEFindingsnone open

Specification

The requirement exactly as authored — its complete prose text and, where present, the formal FRETish sentence it compiles to.

Description

As a LiteLLM user, I need the Azure AI Foundry Anthropic /v1/messages passthrough to authenticate my request with Azure credentials (an x-api-key header, or an Entra ID Bearer token), target the correct Azure Foundry /anthropic/v1/messages endpoint, fold any role=system messages into the top-level system field and strip the unsupported cache_control scope field, and reject a missing api_base with a clear error, so that I can call Claude models hosted on Azure AI Foundry through the native Anthropic messages API reliably

Rationale & tags

Why this requirement exists, and how it is categorised.

Azure AI Foundry hosts Anthropic models behind an Anthropic-compatible /v1/messages endpoint but diverges from the first-party Anthropic API in authentication (Azure api-key -> x-api-key, or Entra Bearer), endpoint shape (/anthropic/v1/messages), rejection of the role=system message position, and non-support of the cache_control scope field; these deltas must be specified and verified so an Anthropic-format request routed to azure_ai reaches Foundry correctly

Verification & provenance

How this requirement was checked: the review trail, edit history, and the machine-analysis status terms (each ⓘ explains what it means).

Assurance levelE
Formalizationnone
Strategyinformal

Review

Status
pending

History

Created
Aug 2, 2026, 00:45 UTC · Claude Opus 4 8 · AI agent
Modified
Aug 2, 2026, 00:45 UTC · Claude Opus 4 8 · AI agent

Change history

Every recorded revision of this requirement's source file — newest first, each with its commit message and the diff for that change.

Obligations

What this requirement must witness to be considered satisfied — the required evidence, and the tests that discharge each one.

2 obligations · 2 discharged

Browse the catalogue
Discharged

Behavior when operations fail or dependencies are unavailable.

Discharging evidence1/1 required witnessed
  • negativerequiredpresent
    No covering test recorded
  • nominalrecommendedpresent
    No covering test recorded
Discharged

Happy-path behavior with valid inputs.

Discharging evidence0/0 required witnessed
  • nominalrecommendedpresent
    No covering test recorded

Acceptance criteria

Stakeholder conditions for satisfaction, traced to the derived requirements and evidence that discharge them.

Stakeholder-authored conditions defining when the requirement is satisfied, traced to derived requirements / evidence.

  • AC-001verify: analysis

    An Anthropic-format /v1/messages request routed to azure_ai with a resolvable Azure api_base is authenticated with an Azure x-api-key (or Entra Bearer) header, carries anthropic-version and content-type, and targets the Azure Foundry /anthropic/v1/messages endpoint

  • AC-002verify: analysis

    A request that carries a role=system message and a cache_control block with a scope field has the system message folded into the top-level system field and the scope key stripped before the body is sent to Azure Foundry

  • AC-003verify: analysis

    A request with no resolvable Azure api_base is rejected with a clear ValueError before the provider is called

Its place

How this requirement connects — what proves it, what it affects, and what it rests on. Authored links only here; automatically derived links come from the audit index.

Loading graph…

Trace evidence

The concrete artifacts linked to this requirement — implementing code, verifying tests, documents, and the findings raised against it.

No implementation linked

No source files are traced to this requirement yet.

Mirrors

Ports this requirement participates in — it carries a reviewed exemption on one side, or a finding raised against it is tracked as part of the port.

  • Azure AI messages: Python -> RustMIR-008
    DiffersPython → Rust
    View in Mirrors

Impact

Blast radius — authored trace links only (automatically derived links come from the audit index and aren't shown here).

Discussions

Discuss this with the proof team. Nothing changes in your audit automatically — you open a request and a staff member records any outcome inside the thread.

Sign in to discuss this with the proof team.Sign in