(error_detail: str)
| 118 | |
| 119 | |
| 120 | def _is_unknown_response_format(error_detail: str) -> bool: |
| 121 | text = error_detail.lower() |
| 122 | return "unknown parameter" in text and "response_format" in text |
| 123 | |
| 124 | |
| 125 | def _parse_retry_after(value: Optional[str]) -> Optional[float]: |