fix(e2e): use EndpointsClient.proxy after Gateway to ProxyClient rename (#34127)

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.
This commit is contained in:
Yassin Kortam 2026-07-21 13:53:40 -07:00 • committed by GitHub
parent 1d36290551
commit 30ed840ff5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -88,9 +88,9 @@ def _system_reminder_turn() -> RichMessage:
def _post_messages(client: EndpointsClient, key: str, body: RichMessagesRequest) -> Result[MessagesResult]:
return client.gateway.transport.post(
return client.proxy.transport.post(
"/v1/messages",
headers=client.gateway.transport.bearer(key),
headers=client.proxy.transport.bearer(key),
json=body,
response_type=MessagesResult,
)