Skip to content

Track upstream contribution: Gemini full api_base duplicate route fix #1

@StatPan

Description

@StatPan

Summary

Track the upstream LiteLLM contribution that fixes duplicate Gemini model-route construction when a custom api_base already includes the full model route.

Upstream PR

Upstream Issue

Scope

This issue tracks the upstream contribution only. It does not track downstream adoption or release timing.

The upstream PR covers:

  • Avoid appending duplicate /models/{model}:{endpoint} when Gemini api_base already includes the full route
  • Handle custom api_base values ending at /models/{model}
  • Add focused regression tests in test_vertex_llm_base.py

Current upstream status

Close condition

Close this issue when BerriAI#26983 is merged, rejected, or explicitly superseded. Merge is sufficient for this contribution-tracking issue.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions