Skip to main content

OpenAIErrorDetail

Attributes (5)
AttributeTypeRequiredDescription
messagestringYes
type'invalid_request_error' | 'server_error'Yes
paramstringNoThe request field the failure is about.
codestringYesThe taxonomy code from protocol.md § 6. A string rather than the enum, so a code from a newer
contract does not cost a client the envelope. § 9.
retryablebooleanYes