fix(e2e): reference client.proxy instead of nonexistent client.gateway

This commit is contained in:
ryan-crabbe-berri 2026-07-21 11:23:22 -07:00
parent 4c06f99f81
commit 652715de13

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,
)