mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-05 02:41:56 +00:00
Cover the full litellm.rerank()/arerank() path with HTTP mocked, asserting metadata.requester_metadata reaches the Discovery Engine :rank body as userLabels (and stays absent when no metadata is set). Catches plumbing regressions that unit tests on transform_rerank_request alone would miss. |
||
|---|---|---|
| .. | ||
| test_vertex_ai_rerank_integration.py | ||
| test_vertex_ai_rerank_transformation.py | ||
| test_vertex_ai_rerank_userlabels_e2e.py | ||