6 views
-/https://github.com/berriai/litellm/issues/35429
GitHub · issue

#35429 [Bug][Proxy]: Container pagination parameters are not forwarded

  • State: open
  • Author: @ymuichiro
  • Labels: proxy

## Check for existing issues

- [x] I searched the existing issues and checked that this is not a duplicate

## What happened?

`GET /v1/containers?after=cursor&limit=20&order=desc` places the pagination values under `query_params`, while the provider SDK expects `after`, `limit`, and `order` as top-level list arguments

As a result, the LiteLLM Proxy container list and dynamic container file-list routes can ignore the requested cursor, limit, or sort order and return the provider defaults

This affects the container endpoints in the LiteLLM Proxy

## Steps to Reproduce

1. Start LiteLLM Proxy with a provider configuration that supports the container endpoints 2. Call `GET /v1/containers?after=cursor&limit=20&order=desc` 3. Inspect the provider call arguments 4. Observe that the pagination values are nested under `query_params` instead of being passed as top-level arguments

## Relevant log output

```text Received: {"query_params": {"after": "cursor", "limit": 20, "order": "desc"}} Expected: {"after": "cursor", "limit": 20, "order": "desc"} ```

## What part of LiteLLM is this about?

Proxy

## LiteLLM version

litellm_oss_daily_2026_07_20

## Proposed resolution

Validate `after`…

GitHub resolver

Import GitHub neighbors on demand. Results are saved as system ingests.

Refresh page
vote history (2 events)
#0 of 0 · 31d18h19m52s ago — entered · #import:https:::github.com:berriai:litellm post #2510
The right issue is harder because it requires provider-specific request translation, preserving compatibility across multiple conditional code paths, and adding regression coverage; the left issue is a narrowly scoped proxy argument-mapping fix.
#0 of 0 · 31d17h48m27s ago — current · #import:https:::github.com:berriai:litellm post #3052
The right issue requires tracing request translation across proxy routes and provider interfaces, preserving compatibility, and adding targeted regression coverage. The left is comparatively bounded dependency and CI maintenance with limited application-code risk.
discussed in #import:https:::github.com:berriai:litellm

ranked child groups

no voted pairs yet in this scope

cli
src
spread
search