( response: Response, )
| 812 | } |
| 813 | |
| 814 | async function parseFireworksError( |
| 815 | response: Response, |
| 816 | ): Promise<FireworksError> { |
| 817 | const errorText = await response.text() |
| 818 | return parseFireworksErrorFromText( |
| 819 | response.status, |
| 820 | response.statusText, |
| 821 | errorText, |
| 822 | ) |
| 823 | } |
| 824 | |
| 825 | /** |
| 826 | * Uses custom Fireworks deployments only during deployment hours. Some models |
no test coverage detected