()
| 938 | if (isStream) clearTimeout(abortTimer); |
| 939 | |
| 940 | const readText = async () => { |
| 941 | try { |
| 942 | return await res.text(); |
| 943 | } catch (err) { |
| 944 | throw makeOpenAIGatewayError(err); |
| 945 | } finally { |
| 946 | clearTimeout(abortTimer); |
| 947 | } |
| 948 | }; |
| 949 | |
| 950 | return { |
| 951 | status: res.status, |
nothing calls this directly
no test coverage detected