(attempt_payload: dict[str, Any])
| 4987 | ) |
| 4988 | |
| 4989 | async def _post_non_stream_attempt(attempt_payload: dict[str, Any]) -> httpx.Response: |
| 4990 | try: |
| 4991 | return await _get_client().post( |
| 4992 | attempt_payload["target_chat_url"], |
| 4993 | json=attempt_payload["transport_body"], |
| 4994 | headers=attempt_payload["headers"], |
| 4995 | ) |
| 4996 | except httpx.TransportError as exc: |
| 4997 | return _transport_error_response(exc) |
| 4998 | |
| 4999 | def _build_proxy_response( |
| 5000 | *, |
no test coverage detected