array (
'headers' =>
\WpOrg\Requests\Utility\CaseInsensitiveDictionary::__set_state(array(
'data' =>
array (
'date' => 'Fri, 06 Dec 2024 04:42:31 GMT',
'content-type' => 'application/json; charset=utf-8',
'content-length' => '337',
'vary' => 'Origin',
'x-request-id' => 'req_a87ab8b20f523448a686ae4b40d29f8f',
'strict-transport-security' => 'max-age=31536000; includeSubDomains; preload',
'cf-cache-status' => 'DYNAMIC',
'set-cookie' =>
array (
0 => '__cf_bm=QLSUN9dP.zF2vEJwmLCQnGyI7CBMqZ9VvOJO9gNYxuM-1733460151-1.0.1.1-wB2sIObwoBHh1lcIhrhXLTOwCmXaeZwK_b16UZ9eJeNR0hisSX9nBmn9utTdLqX0Fv53htwrpcEEhMnHqD0YkQ; path=/; expires=Fri, 06-Dec-24 05:12:31 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None',
1 => '_cfuvid=QhnbGGfodO7pnP7UM0q_yW6RLpSgXc1aaogg5BjBW6I-1733460151434-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None',
),
'x-content-type-options' => 'nosniff',
'server' => 'cloudflare',
'cf-ray' => '8ed99c19f9ddabfd-YYZ',
'alt-svc' => 'h3=":443"; ma=86400',
),
)),
'body' => '{
"error": {
"message": "You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.",
"type": "insufficient_quota",
"param": null,
"code": "insufficient_quota"
}
}
',
'response' =>
array (
'code' => 429,
'message' => 'Too Many Requests',
),
'cookies' =>
array (
0 =>
\WP_Http_Cookie::__set_state(array(
'name' => '__cf_bm',
'value' => 'QLSUN9dP.zF2vEJwmLCQnGyI7CBMqZ9VvOJO9gNYxuM-1733460151-1.0.1.1-wB2sIObwoBHh1lcIhrhXLTOwCmXaeZwK_b16UZ9eJeNR0hisSX9nBmn9utTdLqX0Fv53htwrpcEEhMnHqD0YkQ',
'expires' => 1733461951,
'path' => '/',
'domain' => 'api.openai.com',
'port' => NULL,
'host_only' => false,
)),
1 =>
\WP_Http_Cookie::__set_state(array(
'name' => '_cfuvid',
'value' => 'QhnbGGfodO7pnP7UM0q_yW6RLpSgXc1aaogg5BjBW6I-1733460151434-0.0.1.1-604800000',
'expires' => NULL,
'path' => '/',
'domain' => 'api.openai.com',
'port' => NULL,
'host_only' => false,
)),
),
'filename' => NULL,
'http_response' =>
\WP_HTTP_Requests_Response::__set_state(array(
'data' => NULL,
'headers' => NULL,
'status' => NULL,
'response' =>
\WpOrg\Requests\Response::__set_state(array(
'body' => '{
"error": {
"message": "You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.",
"type": "insufficient_quota",
"param": null,
"code": "insufficient_quota"
}
}
',
'raw' => 'HTTP/1.1 429 Too Many Requests
Date: Fri, 06 Dec 2024 04:42:31 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 337
Connection: close
vary: Origin
x-request-id: req_a87ab8b20f523448a686ae4b40d29f8f
strict-transport-security: max-age=31536000; includeSubDomains; preload
CF-Cache-Status: DYNAMIC
Set-Cookie: __cf_bm=QLSUN9dP.zF2vEJwmLCQnGyI7CBMqZ9VvOJO9gNYxuM-1733460151-1.0.1.1-wB2sIObwoBHh1lcIhrhXLTOwCmXaeZwK_b16UZ9eJeNR0hisSX9nBmn9utTdLqX0Fv53htwrpcEEhMnHqD0YkQ; path=/; expires=Fri, 06-Dec-24 05:12:31 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None
X-Content-Type-Options: nosniff
Set-Cookie: _cfuvid=QhnbGGfodO7pnP7UM0q_yW6RLpSgXc1aaogg5BjBW6I-1733460151434-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None
Server: cloudflare
CF-RAY: 8ed99c19f9ddabfd-YYZ
alt-svc: h3=":443"; ma=86400
{
"error": {
"message": "You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.",
"type": "insufficient_quota",
"param": null,
"code": "insufficient_quota"
}
}
',
'headers' =>
\WpOrg\Requests\Response\Headers::__set_state(array(
'data' =>
array (
'date' =>
array (
0 => 'Fri, 06 Dec 2024 04:42:31 GMT',
),
'content-type' =>
array (
0 => 'application/json; charset=utf-8',
),
'content-length' =>
array (
0 => '337',
),
'vary' =>
array (
0 => 'Origin',
),
'x-request-id' =>
array (
0 => 'req_a87ab8b20f523448a686ae4b40d29f8f',
),
'strict-transport-security' =>
array (
0 => 'max-age=31536000; includeSubDomains; preload',
),
'cf-cache-status' =>
array (
0 => 'DYNAMIC',
),
'set-cookie' =>
array (
0 => '__cf_bm=QLSUN9dP.zF2vEJwmLCQnGyI7CBMqZ9VvOJO9gNYxuM-1733460151-1.0.1.1-wB2sIObwoBHh1lcIhrhXLTOwCmXaeZwK_b16UZ9eJeNR0hisSX9nBmn9utTdLqX0Fv53htwrpcEEhMnHqD0YkQ; path=/; expires=Fri, 06-Dec-24 05:12:31 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None',
1 => '_cfuvid=QhnbGGfodO7pnP7UM0q_yW6RLpSgXc1aaogg5BjBW6I-1733460151434-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None',
),
'x-content-type-options' =>
array (
0 => 'nosniff',
),
'server' =>
array (
0 => 'cloudflare',
),
'cf-ray' =>
array (
0 => '8ed99c19f9ddabfd-YYZ',
),
'alt-svc' =>
array (
0 => 'h3=":443"; ma=86400',
),
),
)),
'status_code' => 429,
'protocol_version' => 1.1,
'success' => false,
'redirects' => 0,
'url' => 'https://api.openai.com/v1/chat/completions',
'history' =>
array (
),
'cookies' =>
\WpOrg\Requests\Cookie\Jar::__set_state(array(
'cookies' =>
array (
'__cf_bm' =>
\WpOrg\Requests\Cookie::__set_state(array(
'name' => '__cf_bm',
'value' => 'QLSUN9dP.zF2vEJwmLCQnGyI7CBMqZ9VvOJO9gNYxuM-1733460151-1.0.1.1-wB2sIObwoBHh1lcIhrhXLTOwCmXaeZwK_b16UZ9eJeNR0hisSX9nBmn9utTdLqX0Fv53htwrpcEEhMnHqD0YkQ',
'attributes' =>
\WpOrg\Requests\Utility\CaseInsensitiveDictionary::__set_state(array(
'data' =>
array (
'path' => '/',
'expires' => 1733461951,
'domain' => 'api.openai.com',
'httponly' => true,
'secure' => true,
'samesite' => 'None',
),
)),
'flags' =>
array (
'creation' => 1733460151,
'last-access' => 1733460151,
'persistent' => false,
'host-only' => false,
),
'reference_time' => 1733460151,
)),
'_cfuvid' =>
\WpOrg\Requests\Cookie::__set_state(array(
'name' => '_cfuvid',
'value' => 'QhnbGGfodO7pnP7UM0q_yW6RLpSgXc1aaogg5BjBW6I-1733460151434-0.0.1.1-604800000',
'attributes' =>
\WpOrg\Requests\Utility\CaseInsensitiveDictionary::__set_state(array(
'data' =>
array (
'path' => '/',
'domain' => 'api.openai.com',
'httponly' => true,
'secure' => true,
'samesite' => 'None',
),
)),
'flags' =>
array (
'creation' => 1733460151,
'last-access' => 1733460151,
'persistent' => false,
'host-only' => false,
),
'reference_time' => 1733460151,
)),
),
)),
)),
'filename' => NULL,
)),
)