MCPcopy Index your code
hub / github.com/HisMax/RedInk / _is_unknown_response_format

Function _is_unknown_response_format

backend/generators/image_api_client.py:120–122  ·  view source on GitHub ↗
(error_detail: str)

Source from the content-addressed store, hash-verified

118
119
120def _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
125def _parse_retry_after(value: Optional[str]) -> Optional[float]:

Callers 1

_post_jsonMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected