Proof Portal

Project overview

litellm

BerriAI117 findings · 107 requirements

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

93 withheld (location undisclosed)

All requirements
RequirementSW-REQ-260801-DSEKSoftwareDraft

When the model name contains "deepseek", get_vertex_ai_ocr_config routes to VertexAIDeepSeekOCRConfig, which targets the distinct OpenAPI endpoint (/v1/projects/{project}/locations/{location}/endpoints/openapi/chat/completions, not the mistralai publisher rawPredict path) and builds a chat-messages body (model "deepseek-ai/<model>" with messages carrying an image_url content item) rather than the Mistral OCR document body

All automated checks pass and 1/1 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

When the model name contains "deepseek", get_vertex_ai_ocr_config routes to VertexAIDeepSeekOCRConfig, which targets the distinct OpenAPI endpoint (/v1/projects/{project}/locations/{location}/endpoints/openapi/chat/completions, not the mistralai publisher rawPredict path) and builds a chat-messages body (model "deepseek-ai/<model>" with messages carrying an image_url content item) rather than the Mistral OCR document body

FRETish formula
the vertex_ocr shall always satisfy (deepseek_endpoint_targeted <-> deepseek_model)
View full formal model

Rationale & tags

Why this requirement exists, and how it is categorised.

The Vertex DeepSeek OCR variant is a distinct provider surface (different routing, endpoint and request body) that the mistral-rawPredict-centric SYS/INT/SW graph never captured; its contract must be specified and verified so a mutation to the routing helper, endpoint path or body shape fails a test

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
Formalizationvalid
Strategyfretish

Review

Status
pending

History

Created
Aug 12, 2026, 13:40 UTC · Claude Code · AI agent
Modified
Aug 12, 2026, 13:40 UTC · Claude Code · 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.

1 obligation · 1 discharged

Browse the catalogue
Discharged

Happy-path behavior with valid inputs.

Discharging evidence1/1 required witnessed
  • nominalrequiredpresent
    Covered by 1 test

Formula evidence

The formal formula behind this requirement, the variables it is written over, and the tests that exercise it (each term is explained inline).

FRETish formula

the vertex_ocr shall always satisfy (deepseek_endpoint_targeted <-> deepseek_model)

MC/DC truth table· 3 rows

Each row assigns the formula's conditions (T/F) and shows the Result— the formula's value for that input row, not a test pass/fail. A row proves a condition when flipping only that condition flips the outcome. The test that covers each row is linked.

Covereda test exercises this rowExempteda reviewed mcdc:ignoreNo-actionfalse-result row satisfied by designUncoveredneeds a covering test
#deepseek_endpoint_targeteddeepseek_modelResultProvesCovering test
1FFTdeepseek_endpoint_targetedUncovered
2FTFdeepseek_modelUncovered
3TFFdeepseek_endpoint_targetedUncovered

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.

Impact

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

If you change this

Requirements
0
Files
1
Tests
0
At-risk contracts
0

Files to re-check (1)

  • transformation.rslitellm-rust/crates/core/src/providers/vertex_ai/ocr/transformation.rs

What this rests on

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