Repository navigation
fix(e2e): use EndpointsClient.proxy after Gateway to ProxyClient rename - #34127
Merged
yassin-berriai merged 1 commit intoJul 21, 2026
Merged
yassin-berriai merged 1 commit into
yassin-berriai merged 1 commit into
Conversation
|
|
Contributor
Greptile SummaryThis PR updates the e2e Messages API helper to use the current endpoint client interface. The main change is:
Confidence Score: 5/5This looks safe to merge.
|
| Filename | Overview |
|---|---|
| tests/e2e/llm_translation/test_messages_mid_conversation_system_native_providers_e2e.py | Replaces stale gateway transport access with the valid proxy transport while preserving the request shape and test assertions |
Reviews (1): Last reviewed commit: "fix(e2e): use EndpointsClient.proxy afte..." | Re-trigger Greptile
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Merged
3 of 5 tasks
yassin-berriai
enabled auto-merge (squash)
July 21, 2026 20:41
The mid-conversation-system messages test still referenced the removed client.gateway attribute, so the tests/e2e basedpyright gate reported 9 errors and went red on every e2e PR. EndpointsClient exposes .proxy, so point the /v1/messages post helper at client.proxy.transport.
yucheng-berri
approved these changes
Jul 21, 2026
yassin-berriai
force-pushed
the
litellm_fix_e2e_endpoints_client_proxy_attr
branch
from
July 21, 2026 20:42
de1daa5 to
730664d
Compare
yassin-berriai
merged commit Jul 21, 2026
30ed840
into
litellm_internal_staging
74 of 75 checks passed
Closed
5 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Relevant issues
Linear ticket
Pre-Submission checklist
Screenshots / Proof of Fix
The
lintjob's "Check tests/e2e basedpyright (zero errors)" step is red onlitellm_internal_staging(base commit 212a921), and therefore red on every open e2e PR, with 9 errors all in this one file:EndpointsClientexposes.proxy(aProxyClient), not.gateway; the attribute was renamed in the Gateway to ProxyClient refactor and this helper was missed. After the fix (commit on this branch) the_post_messageshelper readsclient.proxy.transport, matching every other helper in the suite, and the tests/e2e basedpyright step returns zero errors. This PR's ownlintjob is the after-proof.No behavioral change: the test's assertions are untouched; it only referenced a removed attribute.
Type
🐛 Bug Fix
Changes
Point the
_post_messageshelper intest_messages_mid_conversation_system_native_providers_e2e.pyatclient.proxy.transportinstead of the removedclient.gateway.transport, restoring a zero-error tests/e2e basedpyright gateQA runbook
/v1/messageshelper uses, with no change to what it assertsuv run --no-sync basedpyright tests/e2ereports zero errorsEndpointsClient.proxyused everywhere else in the suite; no assertion or request shape changedFinal Attestation