Proof Portal

Project overview

litellm

BerriAI117 findings · 107 requirements

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

93 withheld (location undisclosed)

All requirements
RequirementSTK-REQ-260801-ZMNJStakeholderDraft

As a LiteLLM user, I need the Vertex AI OCR provider to authenticate my request with a Vertex access token, target the correct Vertex Mistral rawPredict endpoint, convert document/image URLs to base64 data URIs (Vertex has no internet access), and reject bad input, so that I can extract structured OCR results from documents through Vertex AI reliably

All automated checks pass and 2/2 obligations are satisfied. Human review is still pending.
PriorityshallTypeguaranteeCategoryfunctionalComponentvertex_ocrAssuranceEFindingsnone 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 Vertex AI OCR provider to authenticate my request with a Vertex access token, target the correct Vertex Mistral rawPredict endpoint, convert document/image URLs to base64 data URIs (Vertex has no internet access), and reject bad input, so that I can extract structured OCR results from documents through Vertex AI reliably

Rationale & tags

Why this requirement exists, and how it is categorised.

Vertex AI OCR reuses the Mistral OCR body format through the Vertex Mistral publisher endpoint; its auth, endpoint, and URL-to-data-URI conversion contract must be specified and verified

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 1, 2026, 19:50 UTC · Claude Opus 4 8 · AI agent
Modified
Aug 1, 2026, 19:50 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.

3 obligations · 3 discharged

Browse the catalogue

Evidence tagged via <REQ> is witnessed by a requirement that satisfies this one — normal for stakeholder / aggregate requirements, which are proven through the requirements that refine them.

Discharged

Happy-path behavior with valid inputs.

Discharging evidence0/0 required witnessed
  • nominalrecommendedpresent
    Covered by 2 tests
    via SYS-REQ-260801-A2AR
Discharged

Behavior when operations fail or dependencies are unavailable.

Discharging evidence1/1 required witnessed
  • negativerequiredpresent
    Covered by 2 tests
    via SYS-REQ-260801-A2AR
  • nominalrecommendedpresent
    Covered by 2 tests
    via SYS-REQ-260801-A2AR
Discharged

Behavior when inputs are syntactically or structurally invalid.

Discharging evidence1/1 required witnessed
  • negativerequiredpresent
    Covered by 2 tests
    via SYS-REQ-260801-A2AR
  • nominalrecommendedpresent
    Covered by 2 tests
    via SYS-REQ-260801-A2AR

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: test

    A user OCR request with a valid Mistral-format document dict, a resolvable Vertex access token and project returns a structured OCRResponse targeting the rawPredict endpoint

    Derived requirements
    Acceptance test
  • AC-002verify: test

    An OCR request with a non-data document or image URL has that URL converted to a base64 data URI before the request is built, because Vertex AI OCR has no internet access

    Derived requirements

    No acceptance-test witness found

  • AC-003verify: test

    An OCR request with no resolvable vertex_project is rejected with a clear ValueError before any endpoint URL is built

    Derived requirements
    Acceptance test
  • AC-TOKENverify: test

    An OCR request with no direct api_key authenticates with a Bearer header whose token is resolved from Vertex credentials via the access-token exchange

    Derived requirements

    No acceptance-test witness found

  • AC-LOCATIONverify: test

    An OCR request targets the caller's project and location in the endpoint path, defaulting the location to us-central1 when omitted and honoring an explicit location otherwise

    Derived requirements
    Acceptance test
  • AC-DEEPSEEKverify: test

    An OCR request for a DeepSeek Vertex model targets the OpenAPI chat/completions endpoint with a messages body, not the mistralai publisher rawPredict path

    Derived requirements
    Acceptance test

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.

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