[2025-03-31 16:56:19][INFO] Headers reçus: Array ( [Remote-Ip] => 2a02:8440:3340:fbca:e1e7:2c1d:1c46:1bce [Accept-Language] => en-GB,en;q=0.9 [User-Agent] => Jewel%20&%20Craft%202/1 CFNetwork/1568.300.101 Darwin/24.3.0 [Accept-Encoding] => gzip, deflate, br [Content-Type] => application/json [Accept] => */* [Content-Length] => 119859 [X-Ovhrequest-Id] => a0d40124046f4beb8d6e7cf19c138f6c [X-Forwarded-Proto] => https [X-Forwarded-For] => 2a02:8440:3340:fbca:e1e7:2c1d:1c46:1bce [X-Predictor] => 1 [Host] => api.nqnq.jp ) [2025-03-31 16:56:19][INFO] Utilisation de la clé API par défaut [2025-03-31 16:56:19][INFO] === Nouvelle requête POST reçue === [2025-03-31 16:56:19][INFO] Authorization Header final: Bearer sk-proj-NTPYW... [2025-03-31 16:56:19][INFO] Corps de la requête reçue (début): {"model":"o1-2024-12-17","messages":[{"role":"system","content":"Vous êtes un expert en gemmologie et joaillerie. Votre tâche est de décrire les pierres précieuses uniquement avec une précision absolue, en portant une attention particulière à :\n1. La forme géométrique exacte (rectangulaire, octogonale, taille émeraude, etc.)\n2. La couleur précise (différencier les nuances de vert, bleu, etc.)\n3. La transparence et la clarté\n4. Les inclusions et caractéristiques distinctives\n5.... [2025-03-31 16:56:19][INFO] Headers envoyés à OpenAI: {"Content-Type":"application\/json","Authorization":"Bearer sk-proj-NT..."} [2025-03-31 16:56:19][INFO] Envoi de la requête à OpenAI... [2025-03-31 16:56:34][DEBUG] Logs cURL: * Trying 162.159.140.245... * TCP_NODELAY set * Connected to api.openai.com (162.159.140.245) port 443 (#0) * ALPN, offering h2 * ALPN, offering http/1.1 * successfully set certificate verify locations: * CAfile: none CApath: /etc/ssl/certs * SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 * ALPN, server accepted to use h2 * Server certificate: * subject: CN=api.openai.com * start date: Mar 22 23:32:23 2025 GMT * expire date: Jun 21 00:32:21 2025 GMT * subjectAltName: host "api.openai.com" matched cert's "api.openai.com" * issuer: C=US; O=Google Trust Services; CN=WE1 * SSL certificate verify ok. * Using HTTP2, server supports multi-use * Connection state changed (HTTP/2 confirmed) * Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0 * Using Stream ID: 1 (easy handle 0x5587a5abb0d0) > POST /v1/chat/completions HTTP/2 Host: api.openai.com Accept: */* Content-Type: application/json Authorization: Bearer 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 Content-Length: 119859 * old SSL session ID is stale, removing * Connection state changed (MAX_CONCURRENT_STREAMS == 100)! * We are completely uploaded and fine < HTTP/2 200 < date: Mon, 31 Mar 2025 14:56:34 GMT < content-type: application/json < content-length: 807 < access-control-expose-headers: X-Request-ID < openai-organization: user-6hjewiskqfnipkjiigvkogot < openai-processing-ms: 12223 < openai-version: 2020-10-01 < x-ratelimit-limit-requests: 500 < x-ratelimit-limit-tokens: 30000 < x-ratelimit-remaining-requests: 499 < x-ratelimit-remaining-tokens: 28961 < x-ratelimit-reset-requests: 120ms < x-ratelimit-reset-tokens: 2.078s < x-request-id: req_083b57f7238c59075514b119e9b6b9bc < strict-transport-security: max-age=31536000; includeSubDomains; preload < cf-cache-status: DYNAMIC < set-cookie: __cf_bm=YGr2kZYShiDheBOOhiYRov2y2Cw9FzlOMBLMpXEgrlg-1743432994-1.0.1.1-wmLbIAutuz1OwXYzCPDzyfBmaYsRSsxKJRHc.rbIIEjYLKkS1Q7CkwJBLjt32Toxdcc.MokBDpXSo4yUGHw8s4hpp4yrmq_dLQzZB_E32bw; path=/; expires=Mon, 31-Mar-25 15:26:34 GMT; domain=.api.openai.com; HttpOnly; Secure < x-content-type-options: nosniff < set-cookie: _cfuvid=TsI0R3oCdrcP8uKkKzTJFe0INZR2uPWXpJo7H.FgGRs-1743432994449-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None < server: cloudflare < cf-ray: 9290b1595a38063c-CDG < alt-svc: h3=":443"; ma=86400 < * Connection #0 to host api.openai.com left intact [2025-03-31 16:56:34][INFO] Code HTTP reçu: 200 [2025-03-31 16:56:34][INFO] Réponse reçue (début): { "id": "chatcmpl-BHAqjZSmhRZW9eCtUNY92mRDKAgQ1", "object": "chat.completion", "created": 1743432981, "model": "o1-2024-12-17", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "", "refusal": null, "annotations": [] }, "logprobs": null, "finish_reason": "length" } ], "usage": { "prompt_tokens": 1019, "completion_tokens": 500, "total_tokens": 1519, "prompt_tokens_details": { ... [2025-03-31 17:01:47][INFO] Headers reçus: Array ( [Remote-Ip] => 2a02:8440:3340:fbca:e1e7:2c1d:1c46:1bce [Accept-Language] => en-GB,en;q=0.9 [User-Agent] => Jewel%20&%20Craft%202/1 CFNetwork/1568.300.101 Darwin/24.3.0 [Accept-Encoding] => gzip, deflate, br [Content-Type] => application/json [Accept] => */* [Content-Length] => 119859 [X-Ovhrequest-Id] => e60ca86d1800d81b982530f926c6144b [X-Forwarded-Proto] => https [X-Forwarded-For] => 2a02:8440:3340:fbca:e1e7:2c1d:1c46:1bce [X-Predictor] => 1 [Host] => api.nqnq.jp ) [2025-03-31 17:01:47][INFO] Utilisation de la clé API par défaut [2025-03-31 17:01:47][INFO] === Nouvelle requête POST reçue === [2025-03-31 17:01:47][INFO] Authorization Header final: Bearer sk-proj-NTPYW... [2025-03-31 17:01:47][INFO] Corps de la requête modifiée (début): {"model":"o1-2024-12-17","messages":[{"role":"system","content":"Vous \u00eates un expert en gemmologie et joaillerie. Votre t\u00e2che est de d\u00e9crire les pierres pr\u00e9cieuses uniquement avec une pr\u00e9cision absolue, en portant une attention particuli\u00e8re \u00e0 :\n1. La forme g\u00e9om\u00e9trique exacte (rectangulaire, octogonale, taille \u00e9meraude, etc.)\n2. La couleur pr\u00e9cise (diff\u00e9rencier les nuances de vert, bleu, etc.)\n3. La transparence et la clart\u00e9\n4. ... [2025-03-31 17:01:47][INFO] Headers envoyés à OpenAI: {"Content-Type":"application\/json","Authorization":"Bearer sk-proj-NT..."} [2025-03-31 17:01:47][INFO] Envoi de la requête à OpenAI... [2025-03-31 17:01:48][DEBUG] Logs cURL: * Trying 162.159.140.245... * TCP_NODELAY set * Connected to api.openai.com (162.159.140.245) port 443 (#0) * ALPN, offering h2 * ALPN, offering http/1.1 * successfully set certificate verify locations: * CAfile: none CApath: /etc/ssl/certs * SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 * ALPN, server accepted to use h2 * Server certificate: * subject: CN=api.openai.com * start date: Mar 22 23:32:23 2025 GMT * expire date: Jun 21 00:32:21 2025 GMT * subjectAltName: host "api.openai.com" matched cert's "api.openai.com" * issuer: C=US; O=Google Trust Services; CN=WE1 * SSL certificate verify ok. * Using HTTP2, server supports multi-use * Connection state changed (HTTP/2 confirmed) * Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0 * Using Stream ID: 1 (easy handle 0x5587a5abd330) > POST /v1/chat/completions HTTP/2 Host: api.openai.com Accept: */* Content-Type: application/json Authorization: Bearer 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 Content-Length: 119969 * old SSL session ID is stale, removing * Connection state changed (MAX_CONCURRENT_STREAMS == 100)! * We are completely uploaded and fine < HTTP/2 400 < date: Mon, 31 Mar 2025 15:01:48 GMT < content-type: application/json < content-length: 245 < access-control-expose-headers: X-Request-ID < openai-organization: user-6hjewiskqfnipkjiigvkogot < openai-processing-ms: 381 < openai-version: 2020-10-01 < x-ratelimit-limit-requests: 500 < x-ratelimit-limit-tokens: 30000 < x-ratelimit-remaining-requests: 499 < x-ratelimit-remaining-tokens: 28961 < x-ratelimit-reset-requests: 120ms < x-ratelimit-reset-tokens: 2.078s < x-request-id: req_fde6bd19dca2a12a84f4890b8772c50d < strict-transport-security: max-age=31536000; includeSubDomains; preload < cf-cache-status: DYNAMIC < set-cookie: __cf_bm=uBusvwxxQ9wnz56cfeob4nKEPci3KbqgQ.2_OrH2WHs-1743433308-1.0.1.1-ZLbsieXsfUl836H6zzLbW4qwJ1m8N5PMENSXAAWFS2zBdmHeaWi.o3hdsRBDoZReRryj9CQHyq6bi0G6uFBWV_LHnNo03LV_fKUKz.bOlDA; path=/; expires=Mon, 31-Mar-25 15:31:48 GMT; domain=.api.openai.com; HttpOnly; Secure < x-content-type-options: nosniff < set-cookie: _cfuvid=k6JwOjtBIim17svCeL7lszTnGnIRW74MABj_xJCafus-1743433308184-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None < server: cloudflare < cf-ray: 9290b959eedb6eed-CDG < alt-svc: h3=":443"; ma=86400 < * Connection #0 to host api.openai.com left intact [2025-03-31 17:01:48][INFO] Code HTTP reçu: 400 [2025-03-31 17:01:48][INFO] Réponse reçue (début): { "error": { "message": "Unsupported parameter: 'max_tokens' is not supported with this model. Use 'max_completion_tokens' instead.", "type": "invalid_request_error", "param": "max_tokens", "code": "unsupported_parameter" } }... [2025-03-31 17:06:57][INFO] Headers reçus: Array ( [Remote-Ip] => 2a02:8440:3340:fbca:e1e7:2c1d:1c46:1bce [Accept-Language] => en-GB,en;q=0.9 [User-Agent] => Jewel%20&%20Craft%202/1 CFNetwork/1568.300.101 Darwin/24.3.0 [Accept-Encoding] => gzip, deflate, br [Content-Type] => application/json [Accept] => */* [Content-Length] => 119843 [X-Ovhrequest-Id] => a115c0fbcc303820a88b33c125ac01da [X-Forwarded-Proto] => https [X-Forwarded-For] => 2a02:8440:3340:fbca:e1e7:2c1d:1c46:1bce [X-Predictor] => 1 [Host] => api.nqnq.jp ) [2025-03-31 17:06:57][INFO] Utilisation de la clé API par défaut [2025-03-31 17:06:57][INFO] === Nouvelle requête POST reçue === [2025-03-31 17:06:57][INFO] Authorization Header final: Bearer sk-proj-NTPYW... [2025-03-31 17:06:57][INFO] Corps de la requête modifiée (début): {"messages":[{"role":"system","content":"Vous \u00eates un expert en gemmologie et joaillerie. Votre t\u00e2che est de d\u00e9crire les pierres pr\u00e9cieuses uniquement avec une pr\u00e9cision absolue, en portant une attention particuli\u00e8re \u00e0 :\n1. La forme g\u00e9om\u00e9trique exacte (rectangulaire, octogonale, taille \u00e9meraude, etc.)\n2. La couleur pr\u00e9cise (diff\u00e9rencier les nuances de vert, bleu, etc.)\n3. La transparence et la clart\u00e9\n4. Les inclusions et caract... [2025-03-31 17:06:57][INFO] Headers envoyés à OpenAI: {"Content-Type":"application\/json","Authorization":"Bearer sk-proj-NT..."} [2025-03-31 17:06:57][INFO] Envoi de la requête à OpenAI... [2025-03-31 17:07:13][DEBUG] Logs cURL: * Trying 172.66.0.243... * TCP_NODELAY set * Connected to api.openai.com (172.66.0.243) port 443 (#0) * ALPN, offering h2 * ALPN, offering http/1.1 * successfully set certificate verify locations: * CAfile: none CApath: /etc/ssl/certs * SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 * ALPN, server accepted to use h2 * Server certificate: * subject: CN=api.openai.com * start date: Mar 22 23:32:23 2025 GMT * expire date: Jun 21 00:32:21 2025 GMT * subjectAltName: host "api.openai.com" matched cert's "api.openai.com" * issuer: C=US; O=Google Trust Services; CN=WE1 * SSL certificate verify ok. * Using HTTP2, server supports multi-use * Connection state changed (HTTP/2 confirmed) * Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0 * Using Stream ID: 1 (easy handle 0x5587a5abd460) > POST /v1/chat/completions HTTP/2 Host: api.openai.com Accept: */* Content-Type: application/json Authorization: Bearer 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 Content-Length: 119964 * old SSL session ID is stale, removing * Connection state changed (MAX_CONCURRENT_STREAMS == 100)! * We are completely uploaded and fine < HTTP/2 200 < date: Mon, 31 Mar 2025 15:07:13 GMT < content-type: application/json < content-length: 809 < access-control-expose-headers: X-Request-ID < openai-organization: user-6hjewiskqfnipkjiigvkogot < openai-processing-ms: 14254 < openai-version: 2020-10-01 < x-ratelimit-limit-requests: 500 < x-ratelimit-limit-tokens: 30000 < x-ratelimit-remaining-requests: 499 < x-ratelimit-remaining-tokens: 28961 < x-ratelimit-reset-requests: 120ms < x-ratelimit-reset-tokens: 2.078s < x-request-id: req_ec217e4264e4a1dda6e3f26c61657109 < strict-transport-security: max-age=31536000; includeSubDomains; preload < cf-cache-status: DYNAMIC < set-cookie: __cf_bm=zy9JGtlVEFMzc_eQl0N17hJFx5f9PSTfpNl0r7WKOHA-1743433633-1.0.1.1-ShYwNn7Vd9QkYfeeMDHi7MbZkAQksDZM.sYCLydSRR3aj1jTLLTvypxfF93hBEV171b6icV1fvjJQoldOYxLAFQnBsjj5nwDvlBTfcSPC7o; path=/; expires=Mon, 31-Mar-25 15:37:13 GMT; domain=.api.openai.com; HttpOnly; Secure < x-content-type-options: nosniff < set-cookie: _cfuvid=wdFUiSXxxe1uZ88QTR4CtRRnDF1RQE2r25NbRUYmNAc-1743433633788-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None < server: cloudflare < cf-ray: 9290c0eeaab82a29-CDG < alt-svc: h3=":443"; ma=86400 < * Connection #0 to host api.openai.com left intact [2025-03-31 17:07:13][INFO] Code HTTP reçu: 200 [2025-03-31 17:07:13][INFO] Réponse reçue (début): { "id": "chatcmpl-BHB141bWaI38OfrMGkephNcMtgS9v", "object": "chat.completion", "created": 1743433622, "model": "o1-2024-12-17", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "", "refusal": null, "annotations": [] }, "logprobs": null, "finish_reason": "length" } ], "usage": { "prompt_tokens": 1019, "completion_tokens": 1000, "total_tokens": 2019, "prompt_tokens_details": {... [2025-03-31 17:07:13][WARNING] Réponse vide reçue d'OpenAI, ajustement des paramètres nécessaire [2025-03-31 17:10:47][INFO] Headers reçus: Array ( [Remote-Ip] => 2a02:8440:3340:fbca:e1e7:2c1d:1c46:1bce [Accept-Language] => en-GB,en;q=0.9 [User-Agent] => Jewel%20&%20Craft%202/1 CFNetwork/1568.300.101 Darwin/24.3.0 [Accept-Encoding] => gzip, deflate, br [Content-Type] => application/json [Accept] => */* [Content-Length] => 119058 [X-Ovhrequest-Id] => 13a158756ad624bd3d6ca4bda0545dc4 [X-Forwarded-Proto] => https [X-Forwarded-For] => 2a02:8440:3340:fbca:e1e7:2c1d:1c46:1bce [X-Predictor] => 1 [Host] => api.nqnq.jp ) [2025-03-31 17:10:47][INFO] Utilisation de la clé API par défaut [2025-03-31 17:10:47][INFO] === Nouvelle requête POST reçue === [2025-03-31 17:10:47][INFO] Authorization Header final: Bearer sk-proj-NTPYW... [2025-03-31 17:10:47][INFO] Paramètres ajustés pour le modèle o1: max_completion_tokens=2000 [2025-03-31 17:10:47][INFO] Corps de la requête modifiée (début): {"seed":123,"max_completion_tokens":2000,"model":"o1-2024-12-17","messages":[{"role":"system","content":"Expert en gemmologie. D\u00e9crivez les pierres pr\u00e9cieuses avec pr\u00e9cision : forme g\u00e9om\u00e9trique, couleur, transparence, inclusions, taille. Si dimensions non fournies, estimez les proportions visibles."},{"content":[{"type":"text","text":"D\u00e9crivez cette pierre : forme g\u00e9om\u00e9trique, couleur, caract\u00e9ristiques visuelles, proportions."},{"type":"image_url","im... [2025-03-31 17:10:47][INFO] Headers envoyés à OpenAI: {"Content-Type":"application\/json","Authorization":"Bearer sk-proj-NT..."} [2025-03-31 17:10:47][INFO] Envoi de la requête à OpenAI... [2025-03-31 17:11:05][DEBUG] Logs cURL: * Trying 162.159.140.245... * TCP_NODELAY set * Connected to api.openai.com (162.159.140.245) port 443 (#0) * ALPN, offering h2 * ALPN, offering http/1.1 * successfully set certificate verify locations: * CAfile: none CApath: /etc/ssl/certs * SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 * ALPN, server accepted to use h2 * Server certificate: * subject: CN=api.openai.com * start date: Mar 22 23:32:23 2025 GMT * expire date: Jun 21 00:32:21 2025 GMT * subjectAltName: host "api.openai.com" matched cert's "api.openai.com" * issuer: C=US; O=Google Trust Services; CN=WE1 * SSL certificate verify ok. * Using HTTP2, server supports multi-use * Connection state changed (HTTP/2 confirmed) * Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0 * Using Stream ID: 1 (easy handle 0x5587a5abd4f0) > POST /v1/chat/completions HTTP/2 Host: api.openai.com Accept: */* Content-Type: application/json Authorization: Bearer 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 Content-Length: 119094 * old SSL session ID is stale, removing * Connection state changed (MAX_CONCURRENT_STREAMS == 100)! * We are completely uploaded and fine < HTTP/2 200 < date: Mon, 31 Mar 2025 15:11:05 GMT < content-type: application/json < content-length: 1493 < access-control-expose-headers: X-Request-ID < openai-organization: user-6hjewiskqfnipkjiigvkogot < openai-processing-ms: 17111 < openai-version: 2020-10-01 < x-ratelimit-limit-requests: 500 < x-ratelimit-limit-tokens: 30000 < x-ratelimit-remaining-requests: 499 < x-ratelimit-remaining-tokens: 29158 < x-ratelimit-reset-requests: 120ms < x-ratelimit-reset-tokens: 1.684s < x-request-id: req_bc0aab177165479ae54913d7c9e0ce0d < strict-transport-security: max-age=31536000; includeSubDomains; preload < cf-cache-status: DYNAMIC < set-cookie: __cf_bm=n69pJsKCu1PPLlgkLUY.sWEMJWulesLPj4fA21BAtPg-1743433865-1.0.1.1-4F9wm32nRRJC1AfvvBGaTu1sl8BfT786smlWHHQF3pDxPykbWIhcporvCdrNTSoxMCXiLtNMOouPzQ9Ksop62WFvJ57sayYRm2GCFNyqqwI; path=/; expires=Mon, 31-Mar-25 15:41:05 GMT; domain=.api.openai.com; HttpOnly; Secure < x-content-type-options: nosniff < set-cookie: _cfuvid=J5wQkCVoljdvBRbuikz2F4ICZ2o4i.rfROvTqZPoSXM-1743433865258-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None < server: cloudflare < cf-ray: 9290c68c3cab021e-CDG < alt-svc: h3=":443"; ma=86400 < * Connection #0 to host api.openai.com left intact [2025-03-31 17:11:05][INFO] Code HTTP reçu: 200 [2025-03-31 17:11:05][INFO] Réponse reçue (début): { "id": "chatcmpl-BHB4kZPPbQI3m7cMof11dhIdOLiOM", "object": "chat.completion", "created": 1743433850, "model": "o1-2024-12-17", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "Cette gemme présente une forme rectangulaire à pans coupés (type « octogonale » ou « carré radiant ») avec des coins nettement biseautés. Sa couleur est un bleu franc d’intensité soutenue, très homogène, manifestant une forte brillance... [2025-03-31 17:11:30][INFO] Headers reçus: Array ( [Remote-Ip] => 2a02:8440:3340:fbca:e1e7:2c1d:1c46:1bce [Accept-Language] => en-GB,en;q=0.9 [User-Agent] => Jewel%20&%20Craft%202/1 CFNetwork/1568.300.101 Darwin/24.3.0 [Accept-Encoding] => gzip, deflate, br [Content-Type] => application/json [Accept] => */* [Content-Length] => 223085 [X-Ovhrequest-Id] => da151817aa0a71c85e529cd2c07f6157 [X-Forwarded-Proto] => https [X-Forwarded-For] => 2a02:8440:3340:fbca:e1e7:2c1d:1c46:1bce [X-Predictor] => 1 [Host] => api.nqnq.jp ) [2025-03-31 17:11:30][INFO] Utilisation de la clé API par défaut [2025-03-31 17:11:30][INFO] === Nouvelle requête POST reçue === [2025-03-31 17:11:30][INFO] Authorization Header final: Bearer sk-proj-NTPYW... [2025-03-31 17:11:30][INFO] Paramètres ajustés pour le modèle o1: max_completion_tokens=2000 [2025-03-31 17:11:30][INFO] Corps de la requête modifiée (début): {"messages":[{"role":"system","content":"Expert en gemmologie. D\u00e9crivez les pierres pr\u00e9cieuses avec pr\u00e9cision : forme g\u00e9om\u00e9trique, couleur, transparence, inclusions, taille. Si dimensions non fournies, estimez les proportions visibles."},{"role":"user","content":[{"type":"text","text":"D\u00e9crivez cette pierre : forme g\u00e9om\u00e9trique, couleur, caract\u00e9ristiques visuelles, proportions."},{"image_url":{"url":"data:image\/jpeg;base64,\/9j\/4AAQSkZJRgABAQAASABIAA... [2025-03-31 17:11:30][INFO] Headers envoyés à OpenAI: {"Content-Type":"application\/json","Authorization":"Bearer sk-proj-NT..."} [2025-03-31 17:11:30][INFO] Envoi de la requête à OpenAI... [2025-03-31 17:11:55][DEBUG] Logs cURL: * Trying 172.66.0.243... * TCP_NODELAY set * Connected to api.openai.com (172.66.0.243) port 443 (#0) * ALPN, offering h2 * ALPN, offering http/1.1 * successfully set certificate verify locations: * CAfile: none CApath: /etc/ssl/certs * SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 * ALPN, server accepted to use h2 * Server certificate: * subject: CN=api.openai.com * start date: Mar 22 23:32:23 2025 GMT * expire date: Jun 21 00:32:21 2025 GMT * subjectAltName: host "api.openai.com" matched cert's "api.openai.com" * issuer: C=US; O=Google Trust Services; CN=WE1 * SSL certificate verify ok. * Using HTTP2, server supports multi-use * Connection state changed (HTTP/2 confirmed) * Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0 * Using Stream ID: 1 (easy handle 0x5587a5abd4f0) > POST /v1/chat/completions HTTP/2 Host: api.openai.com Accept: */* Content-Type: application/json Authorization: Bearer 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 Content-Length: 223121 * old SSL session ID is stale, removing * Connection state changed (MAX_CONCURRENT_STREAMS == 100)! * We are completely uploaded and fine < HTTP/2 200 < date: Mon, 31 Mar 2025 15:11:55 GMT < content-type: application/json < content-length: 1634 < access-control-expose-headers: X-Request-ID < openai-organization: user-6hjewiskqfnipkjiigvkogot < openai-processing-ms: 23707 < openai-version: 2020-10-01 < x-ratelimit-limit-requests: 500 < x-ratelimit-limit-tokens: 30000 < x-ratelimit-remaining-requests: 499 < x-ratelimit-remaining-tokens: 29158 < x-ratelimit-reset-requests: 120ms < x-ratelimit-reset-tokens: 1.684s < x-request-id: req_31c81bd7fea6356a4534e03637632b66 < strict-transport-security: max-age=31536000; includeSubDomains; preload < cf-cache-status: DYNAMIC < set-cookie: __cf_bm=UiRAe8vL1edpRF34XMZqsndfDoTGFPwZUS6xya3ziFw-1743433915-1.0.1.1-TGpspN00WE1WLyhzLlCQPSm7Ne5ObDVR.KZGGc1PPDLVp1Nd0zJuMyk9FxqOyySu_ECfs9yuV0V8Jfri1N.y2GFuzYd9Z13a.b_L6tkxc6Y; path=/; expires=Mon, 31-Mar-25 15:41:55 GMT; domain=.api.openai.com; HttpOnly; Secure < x-content-type-options: nosniff < set-cookie: _cfuvid=CAxFFom1MfYrAllkvnrH1aY7SanrP06LxSRhnzC6qQo-1743433915344-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None < server: cloudflare < cf-ray: 9290c799df452a44-CDG < alt-svc: h3=":443"; ma=86400 < * Connection #0 to host api.openai.com left intact [2025-03-31 17:11:55][INFO] Code HTTP reçu: 200 [2025-03-31 17:11:55][INFO] Réponse reçue (début): { "id": "chatcmpl-BHB5T7YtGUfcZPUUKvIHwGgnJf5PA", "object": "chat.completion", "created": 1743433895, "model": "o1-2024-12-17", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "Cette gemme présente une taille « poire » (en goutte) facettée, avec un sommet arrondi et une pointe plus étroite. Elle arbore une couleur violette intense, uniforme à légèrement plus claire vers certaines facettes, et sa brillance (éclat vitre... [2025-03-31 17:24:07][INFO] Headers reçus: Array ( [Remote-Ip] => 2a02:8440:3340:fbca:e1e7:2c1d:1c46:1bce [Accept-Language] => en-GB,en;q=0.9 [User-Agent] => Jewel%20&%20Craft%202/1 CFNetwork/1568.300.101 Darwin/24.3.0 [Accept-Encoding] => gzip, deflate, br [Content-Type] => application/json [Accept] => */* [Content-Length] => 31915 [X-Ovhrequest-Id] => 5d765f8cd1b7220598a98505fe3bdf33 [X-Forwarded-Proto] => https [X-Forwarded-For] => 2a02:8440:3340:fbca:e1e7:2c1d:1c46:1bce [X-Predictor] => 1 [Host] => api.nqnq.jp ) [2025-03-31 17:24:07][INFO] Utilisation de la clé API par défaut [2025-03-31 17:24:07][INFO] === Nouvelle requête POST reçue === [2025-03-31 17:24:07][INFO] Authorization Header final: Bearer sk-proj-NTPYW... [2025-03-31 17:24:07][INFO] Paramètres ajustés pour le modèle GPT-4o: max_tokens=1000, temperature=0.3 [2025-03-31 17:24:07][INFO] Corps de la requête modifiée (début): {"max_tokens":1000,"temperature":0.3,"model":"gpt-4o-2024-11-20","messages":[{"content":"Expert en gemmologie. D\u00e9crivez les pierres pr\u00e9cieuses avec pr\u00e9cision : forme g\u00e9om\u00e9trique, couleur, transparence, inclusions, taille. Si dimensions non fournies, estimez les proportions visibles.","role":"system"},{"role":"user","content":[{"text":"D\u00e9crivez cette pierre : forme g\u00e9om\u00e9trique, couleur, caract\u00e9ristiques visuelles, proportions.","type":"text"},{"type":"... [2025-03-31 17:24:07][INFO] Headers envoyés à OpenAI: {"Content-Type":"application\/json","Authorization":"Bearer sk-proj-NT..."} [2025-03-31 17:24:07][INFO] Envoi de la requête à OpenAI... [2025-03-31 17:24:12][DEBUG] Logs cURL: * Trying 172.66.0.243... * TCP_NODELAY set * Connected to api.openai.com (172.66.0.243) port 443 (#0) * ALPN, offering h2 * ALPN, offering http/1.1 * successfully set certificate verify locations: * CAfile: none CApath: /etc/ssl/certs * SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 * ALPN, server accepted to use h2 * Server certificate: * subject: CN=api.openai.com * start date: Mar 22 23:32:23 2025 GMT * expire date: Jun 21 00:32:21 2025 GMT * subjectAltName: host "api.openai.com" matched cert's "api.openai.com" * issuer: C=US; O=Google Trust Services; CN=WE1 * SSL certificate verify ok. * Using HTTP2, server supports multi-use * Connection state changed (HTTP/2 confirmed) * Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0 * Using Stream ID: 1 (easy handle 0x5587a5abc400) > POST /v1/chat/completions HTTP/2 Host: api.openai.com Accept: */* Content-Type: application/json Authorization: Bearer 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 Content-Length: 31935 * We are completely uploaded and fine * old SSL session ID is stale, removing * Connection state changed (MAX_CONCURRENT_STREAMS == 100)! < HTTP/2 200 < date: Mon, 31 Mar 2025 15:24:12 GMT < content-type: application/json < content-length: 1548 < access-control-expose-headers: X-Request-ID < openai-organization: user-6hjewiskqfnipkjiigvkogot < openai-processing-ms: 4577 < openai-version: 2020-10-01 < x-ratelimit-limit-input-images: 50000 < x-ratelimit-limit-requests: 500 < x-ratelimit-limit-tokens: 30000 < x-ratelimit-remaining-input-images: 49999 < x-ratelimit-remaining-requests: 499 < x-ratelimit-remaining-tokens: 29158 < x-ratelimit-reset-input-images: 1ms < x-ratelimit-reset-requests: 120ms < x-ratelimit-reset-tokens: 1.684s < x-request-id: req_1d89d02408519393d6a4da2866a3ee8f < strict-transport-security: max-age=31536000; includeSubDomains; preload < cf-cache-status: DYNAMIC < set-cookie: __cf_bm=CGbdeG6SCGGLuc72bVq1IoCmOD0QKSx6kV7ly5.6hWI-1743434652-1.0.1.1-u_3xrhV2csCQTx.u3vUOsQfpxb4X.9bATVM7yZXbTwnpebHDe8p_uhiRKK2dVrSLMBB3GIu4WRVuEGH4jgll4U1nfsQioN9iL8dUQQT1TzM; path=/; expires=Mon, 31-Mar-25 15:54:12 GMT; domain=.api.openai.com; HttpOnly; Secure < x-content-type-options: nosniff < set-cookie: _cfuvid=u..TMHp4SPAQM.HIM0RBG.PDxCVJKWevojLjsmxxFxw-1743434652261-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None < server: cloudflare < cf-ray: 9290da10fce00b18-CDG < alt-svc: h3=":443"; ma=86400 < * Connection #0 to host api.openai.com left intact [2025-03-31 17:24:12][INFO] Code HTTP reçu: 200 [2025-03-31 17:24:12][INFO] Réponse reçue (début): { "id": "chatcmpl-BHBHb9B6EssuMfgatBYsKhQZkG9uJ", "object": "chat.completion", "created": 1743434647, "model": "gpt-4o-2024-11-20", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "Cette pierre précieuse présente les caractéristiques suivantes :\n\n- **Forme géométrique** : Ovale, avec des facettes symétriques bien taillées.\n- **Couleur** : Rouge vif avec des nuances légèrement rosées, donnant un éclat intense et vibra... [2025-03-31 17:46:54][INFO] Headers reçus: Array ( [Remote-Ip] => 2a02:8440:3340:fbca:e1e7:2c1d:1c46:1bce [Accept-Language] => en-GB,en;q=0.9 [User-Agent] => Jewel%20&%20Craft%202/1 CFNetwork/1568.300.101 Darwin/24.3.0 [Accept-Encoding] => gzip, deflate, br [Content-Type] => application/json [Accept] => */* [Content-Length] => 32187 [X-Ovhrequest-Id] => 2ec8e5c70c7fc8adadcc708774d454bc [X-Forwarded-Proto] => https [X-Forwarded-For] => 2a02:8440:3340:fbca:e1e7:2c1d:1c46:1bce [X-Predictor] => 1 [Host] => api.nqnq.jp ) [2025-03-31 17:46:54][INFO] Utilisation de la clé API par défaut [2025-03-31 17:46:54][INFO] === Nouvelle requête POST reçue === [2025-03-31 17:46:54][INFO] Authorization Header final: Bearer sk-proj-NTPYW... [2025-03-31 17:46:54][INFO] Paramètres ajustés pour le modèle GPT-4o: max_tokens=1000, temperature=0.3 [2025-03-31 17:46:54][INFO] Corps de la requête modifiée (début): {"max_tokens":1000,"messages":[{"role":"system","content":"Expert en gemmologie. Analysez les pierres pr\u00e9cieuses et fournissez une r\u00e9ponse structur\u00e9e au format suivant :\n\nNOM: [nom de la pierre]\nCOUPE: [forme g\u00e9om\u00e9trique exacte de la taille]\nCOULEUR: [description pr\u00e9cise de la couleur]\nDESCRIPTION: [description d\u00e9taill\u00e9e incluant transparence, inclusions, caract\u00e9ristiques distinctives]\n\nRespectez strictement ce format avec les labels en majuscu... [2025-03-31 17:46:54][INFO] Headers envoyés à OpenAI: {"Content-Type":"application\/json","Authorization":"Bearer sk-proj-NT..."} [2025-03-31 17:46:54][INFO] Envoi de la requête à OpenAI... [2025-03-31 17:47:01][DEBUG] Logs cURL: * Trying 172.66.0.243... * TCP_NODELAY set * Connected to api.openai.com (172.66.0.243) port 443 (#0) * ALPN, offering h2 * ALPN, offering http/1.1 * successfully set certificate verify locations: * CAfile: none CApath: /etc/ssl/certs * SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 * ALPN, server accepted to use h2 * Server certificate: * subject: CN=api.openai.com * start date: Mar 22 23:32:23 2025 GMT * expire date: Jun 21 00:32:21 2025 GMT * subjectAltName: host "api.openai.com" matched cert's "api.openai.com" * issuer: C=US; O=Google Trust Services; CN=WE1 * SSL certificate verify ok. * Using HTTP2, server supports multi-use * Connection state changed (HTTP/2 confirmed) * Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0 * Using Stream ID: 1 (easy handle 0x5587a5abe140) > POST /v1/chat/completions HTTP/2 Host: api.openai.com Accept: */* Content-Type: application/json Authorization: Bearer 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 Content-Length: 32231 * We are completely uploaded and fine * old SSL session ID is stale, removing * Connection state changed (MAX_CONCURRENT_STREAMS == 100)! < HTTP/2 200 < date: Mon, 31 Mar 2025 15:47:01 GMT < content-type: application/json < content-length: 1171 < access-control-expose-headers: X-Request-ID < openai-organization: user-6hjewiskqfnipkjiigvkogot < openai-processing-ms: 4615 < openai-version: 2020-10-01 < x-ratelimit-limit-input-images: 50000 < x-ratelimit-limit-requests: 500 < x-ratelimit-limit-tokens: 30000 < x-ratelimit-remaining-input-images: 49999 < x-ratelimit-remaining-requests: 499 < x-ratelimit-remaining-tokens: 29092 < x-ratelimit-reset-input-images: 1ms < x-ratelimit-reset-requests: 120ms < x-ratelimit-reset-tokens: 1.816s < x-request-id: req_d17c7b0ac94cd9f2ed4aff4e5ca7f303 < strict-transport-security: max-age=31536000; includeSubDomains; preload < cf-cache-status: DYNAMIC < set-cookie: __cf_bm=QfOTN2KRFOjQe15l5i9X8zUrw71rZkKR7uTUGPxG2OU-1743436021-1.0.1.1-3ebxOSVA4JeTCZgij7xE4T41VmuFw9MVP45TBQ6ThL7xEJOaniI5Ev88o9B9m5PVo513tw7g9OwPi4YqHOGWfhmq3x2bfOIYuV.iHo3r96o; path=/; expires=Mon, 31-Mar-25 16:17:01 GMT; domain=.api.openai.com; HttpOnly; Secure < x-content-type-options: nosniff < set-cookie: _cfuvid=J70qxOVG5d4XvbKZqaZPkLrC9r95twf8Zi9t9x_ixxA-1743436021107-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None < server: cloudflare < cf-ray: 9290fb726d3f9ee3-CDG < alt-svc: h3=":443"; ma=86400 < * Connection #0 to host api.openai.com left intact [2025-03-31 17:47:01][INFO] Code HTTP reçu: 200 [2025-03-31 17:47:01][INFO] Réponse reçue (début): { "id": "chatcmpl-BHBdgO4pq1SyCWMZKat5Zin702bHs", "object": "chat.completion", "created": 1743436016, "model": "gpt-4o-2024-11-20", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "NOM: Rubis \nCOUPE: Ovale \nCOULEUR: Rouge vif avec des nuances légèrement rosées \nDESCRIPTION: Pierre précieuse transparente avec une excellente saturation de couleur. Elle présente une brillance éclatante et semble exempte d'inclusions visib... [2025-03-31 17:56:39][INFO] Headers reçus: Array ( [Remote-Ip] => 2a02:8440:3340:fbca:e1e7:2c1d:1c46:1bce [Accept-Language] => en-GB,en;q=0.9 [User-Agent] => Jewel%20&%20Craft%202/1 CFNetwork/1568.300.101 Darwin/24.3.0 [Accept-Encoding] => gzip, deflate, br [Content-Type] => application/json [Accept] => */* [Content-Length] => 167729 [X-Ovhrequest-Id] => a1dc3380d78f9498c67b4d74a1695326 [X-Forwarded-Proto] => https [X-Forwarded-For] => 2a02:8440:3340:fbca:e1e7:2c1d:1c46:1bce [X-Predictor] => 1 [Host] => api.nqnq.jp ) [2025-03-31 17:56:39][INFO] Utilisation de la clé API par défaut [2025-03-31 17:56:39][INFO] === Nouvelle requête POST reçue === [2025-03-31 17:56:39][INFO] Authorization Header final: Bearer sk-proj-NTPYW... [2025-03-31 17:56:39][INFO] Paramètres ajustés pour le modèle GPT-4o: max_tokens=1000, temperature=0.3 [2025-03-31 17:56:39][INFO] Corps de la requête modifiée (début): {"messages":[{"role":"system","content":"Vous \u00eates un expert gemmologue. Analysez pr\u00e9cis\u00e9ment les pierres pr\u00e9cieuses \u00e0 partir des images fournies. R\u00e9pondez imp\u00e9rativement en suivant le format exact ci-dessous :\n\nNOM: [Nom exact de la pierre pr\u00e9cieuse]\nCOUPE: [Forme g\u00e9om\u00e9trique pr\u00e9cise de la taille]\nCOULEUR: [Description d\u00e9taill\u00e9e et pr\u00e9cise de la couleur]\nDESCRIPTION: [Transparence, type d'inclusions, nombre et position d... [2025-03-31 17:56:39][INFO] Headers envoyés à OpenAI: {"Content-Type":"application\/json","Authorization":"Bearer sk-proj-NT..."} [2025-03-31 17:56:39][INFO] Envoi de la requête à OpenAI... [2025-03-31 17:56:50][DEBUG] Logs cURL: * Trying 172.66.0.243... * TCP_NODELAY set * Connected to api.openai.com (172.66.0.243) port 443 (#0) * ALPN, offering h2 * ALPN, offering http/1.1 * successfully set certificate verify locations: * CAfile: none CApath: /etc/ssl/certs * SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 * ALPN, server accepted to use h2 * Server certificate: * subject: CN=api.openai.com * start date: Mar 22 23:32:23 2025 GMT * expire date: Jun 21 00:32:21 2025 GMT * subjectAltName: host "api.openai.com" matched cert's "api.openai.com" * issuer: C=US; O=Google Trust Services; CN=WE1 * SSL certificate verify ok. * Using HTTP2, server supports multi-use * Connection state changed (HTTP/2 confirmed) * Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0 * Using Stream ID: 1 (easy handle 0x5587a5abe3b0) > POST /v1/chat/completions HTTP/2 Host: api.openai.com Accept: */* Content-Type: application/json Authorization: Bearer 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 Content-Length: 167821 * old SSL session ID is stale, removing * Connection state changed (MAX_CONCURRENT_STREAMS == 100)! * We are completely uploaded and fine < HTTP/2 200 < date: Mon, 31 Mar 2025 15:56:50 GMT < content-type: application/json < content-length: 1981 < access-control-expose-headers: X-Request-ID < openai-organization: user-6hjewiskqfnipkjiigvkogot < openai-processing-ms: 9418 < openai-version: 2020-10-01 < x-ratelimit-limit-input-images: 50000 < x-ratelimit-limit-requests: 500 < x-ratelimit-limit-tokens: 30000 < x-ratelimit-remaining-input-images: 49999 < x-ratelimit-remaining-requests: 499 < x-ratelimit-remaining-tokens: 28984 < x-ratelimit-reset-input-images: 1ms < x-ratelimit-reset-requests: 120ms < x-ratelimit-reset-tokens: 2.032s < x-request-id: req_d75eedbec37f87100e1507f23b0dd804 < strict-transport-security: max-age=31536000; includeSubDomains; preload < cf-cache-status: DYNAMIC < set-cookie: __cf_bm=m2K7Htcn1WyKlqnHCsd_.XZBgCcIcWgb4Niug8lH.9s-1743436610-1.0.1.1-bwLBFNxk3UXpLnfrFhy3sWuaibDCkvZ5K1ckIh.cy_BUON8Sw2IR0sPHPruSR36WZBFN5gphzHPrFFmmIT45LeyYP3J3Ysahmhspcn3fMmM; path=/; expires=Mon, 31-Mar-25 16:26:50 GMT; domain=.api.openai.com; HttpOnly; Secure < x-content-type-options: nosniff < set-cookie: _cfuvid=ntgSSJ6SZbCwxviUGvmEf_JrGlSX0f0HZy1LhbqFknw-1743436610105-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None < server: cloudflare < cf-ray: 929109be1e172a29-CDG < alt-svc: h3=":443"; ma=86400 < * Connection #0 to host api.openai.com left intact [2025-03-31 17:56:50][INFO] Code HTTP reçu: 200 [2025-03-31 17:56:50][INFO] Réponse reçue (début): { "id": "chatcmpl-BHBn7nTUWOqSvy4UlRTwK59W5kaRn", "object": "chat.completion", "created": 1743436601, "model": "gpt-4o-2024-11-20", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "NOM: Améthyste \nCOUPE: Ovale facettée \nCOULEUR: Violet intense avec des nuances homogènes, légèrement plus sombres sur les bords. \nDESCRIPTION: \n- **Transparence**: Très bonne, la pierre est transparente avec une excellente clarté. \n- *... [2025-03-31 18:03:40][INFO] Headers reçus: Array ( [Remote-Ip] => 2a02:8440:3340:fbca:e1e7:2c1d:1c46:1bce [Accept-Language] => en-GB,en;q=0.9 [User-Agent] => Jewel%20&%20Craft%202/1 CFNetwork/1568.300.101 Darwin/24.3.0 [Accept-Encoding] => gzip, deflate, br [Content-Type] => application/json [Accept] => */* [Content-Length] => 115073 [X-Ovhrequest-Id] => 7e2aa780c7660214509d763f8eda5614 [X-Forwarded-Proto] => https [X-Forwarded-For] => 2a02:8440:3340:fbca:e1e7:2c1d:1c46:1bce [X-Predictor] => 1 [Host] => api.nqnq.jp ) [2025-03-31 18:03:40][INFO] Utilisation de la clé API par défaut [2025-03-31 18:03:40][INFO] === Nouvelle requête POST reçue === [2025-03-31 18:03:40][INFO] Authorization Header final: Bearer sk-proj-NTPYW... [2025-03-31 18:03:40][INFO] Paramètres ajustés pour le modèle GPT-4o: max_tokens=1000, temperature=0.3 [2025-03-31 18:03:40][INFO] Corps de la requête modifiée (début): {"messages":[{"role":"system","content":"Vous \u00eates un expert gemmologue. Analysez pr\u00e9cis\u00e9ment les pierres pr\u00e9cieuses \u00e0 partir des images fournies. R\u00e9pondez imp\u00e9rativement en suivant le format exact ci-dessous :\n\nNOM: [Nom exact de la pierre pr\u00e9cieuse]\nCOUPE: [Forme g\u00e9om\u00e9trique pr\u00e9cise de la taille]\nCOULEUR: [Description d\u00e9taill\u00e9e et pr\u00e9cise de la couleur]\nDESCRIPTION: [Transparence, type d'inclusions, nombre et position d... [2025-03-31 18:03:40][INFO] Headers envoyés à OpenAI: {"Content-Type":"application\/json","Authorization":"Bearer sk-proj-NT..."} [2025-03-31 18:03:40][INFO] Envoi de la requête à OpenAI... [2025-03-31 18:03:47][DEBUG] Logs cURL: * Trying 162.159.140.245... * TCP_NODELAY set * Connected to api.openai.com (162.159.140.245) port 443 (#0) * ALPN, offering h2 * ALPN, offering http/1.1 * successfully set certificate verify locations: * CAfile: none CApath: /etc/ssl/certs * SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 * ALPN, server accepted to use h2 * Server certificate: * subject: CN=api.openai.com * start date: Mar 22 23:32:23 2025 GMT * expire date: Jun 21 00:32:21 2025 GMT * subjectAltName: host "api.openai.com" matched cert's "api.openai.com" * issuer: C=US; O=Google Trust Services; CN=WE1 * SSL certificate verify ok. * Using HTTP2, server supports multi-use * Connection state changed (HTTP/2 confirmed) * Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0 * Using Stream ID: 1 (easy handle 0x5587a5abe140) > POST /v1/chat/completions HTTP/2 Host: api.openai.com Accept: */* Content-Type: application/json Authorization: Bearer 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 Content-Length: 115165 * old SSL session ID is stale, removing * Connection state changed (MAX_CONCURRENT_STREAMS == 100)! * We are completely uploaded and fine < HTTP/2 200 < date: Mon, 31 Mar 2025 16:03:47 GMT < content-type: application/json < content-length: 1557 < access-control-expose-headers: X-Request-ID < openai-organization: user-6hjewiskqfnipkjiigvkogot < openai-processing-ms: 6433 < openai-version: 2020-10-01 < x-ratelimit-limit-input-images: 50000 < x-ratelimit-limit-requests: 500 < x-ratelimit-limit-tokens: 30000 < x-ratelimit-remaining-input-images: 49999 < x-ratelimit-remaining-requests: 499 < x-ratelimit-remaining-tokens: 28984 < x-ratelimit-reset-input-images: 1ms < x-ratelimit-reset-requests: 120ms < x-ratelimit-reset-tokens: 2.032s < x-request-id: req_fb78e616eb3e7814925eaa2bc6e7428f < strict-transport-security: max-age=31536000; includeSubDomains; preload < cf-cache-status: DYNAMIC < set-cookie: __cf_bm=_a8vqP.3Qm1G1D4TX0U1FSLV.8zTymOx3C68eUCI_Po-1743437027-1.0.1.1-ix_nunT9zlmIcRpGgjxM9.Tvzx5sLDcyFwhwvsyHY6vThQba1u0clYnR6A3_9CR.4cju1Wx5c6jRfeacAw8oe4iYybITlAtbygE_s81uy9w; path=/; expires=Mon, 31-Mar-25 16:33:47 GMT; domain=.api.openai.com; HttpOnly; Secure < x-content-type-options: nosniff < set-cookie: _cfuvid=e1bXro1YJgZWKCCkeAiBRkhpdgeZbogSfNarH.4O8ek-1743437027403-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None < server: cloudflare < cf-ray: 92911400b9ffc6ae-CDG < alt-svc: h3=":443"; ma=86400 < * Connection #0 to host api.openai.com left intact [2025-03-31 18:03:47][INFO] Code HTTP reçu: 200 [2025-03-31 18:03:47][INFO] Réponse reçue (début): { "id": "chatcmpl-BHBttrS3WMTKw4rXbEi6PIMCO4s2M", "object": "chat.completion", "created": 1743437021, "model": "gpt-4o-2024-11-20", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "NOM: Émeraude \nCOUPE: Taille octogonale (taille émeraude) \nCOULEUR: Vert intense avec des nuances légèrement bleutées, saturation élevée et ton moyen à foncé. \nDESCRIPTION: Pierre transparente avec des inclusions visibles, typiques des é... [2025-03-31 18:10:53][INFO] Headers reçus: Array ( [Remote-Ip] => 2a02:8440:3340:fbca:e1e7:2c1d:1c46:1bce [Accept-Language] => en-GB,en;q=0.9 [User-Agent] => Jewel%20&%20Craft%202/1 CFNetwork/1568.300.101 Darwin/24.3.0 [Accept-Encoding] => gzip, deflate, br [Content-Type] => application/json [Accept] => */* [Content-Length] => 223806 [X-Ovhrequest-Id] => a5ff07617f1e155fa3d983c5f27c625b [X-Forwarded-Proto] => https [X-Forwarded-For] => 2a02:8440:3340:fbca:e1e7:2c1d:1c46:1bce [X-Predictor] => 1 [Host] => api.nqnq.jp ) [2025-03-31 18:10:53][INFO] Utilisation de la clé API par défaut [2025-03-31 18:10:53][INFO] === Nouvelle requête POST reçue === [2025-03-31 18:10:53][INFO] Authorization Header final: Bearer sk-proj-NTPYW... [2025-03-31 18:10:53][INFO] Paramètres ajustés pour le modèle GPT-4o: max_tokens=1000, temperature=0.3 [2025-03-31 18:10:53][INFO] Corps de la requête modifiée (début): {"temperature":0.3,"max_tokens":1000,"model":"gpt-4o-2024-11-20","messages":[{"role":"system","content":"Vous \u00eates un expert gemmologue. Analysez pr\u00e9cis\u00e9ment les pierres pr\u00e9cieuses \u00e0 partir des images fournies. R\u00e9pondez imp\u00e9rativement en suivant le format exact ci-dessous :\n\nNOM: [Nom exact de la pierre pr\u00e9cieuse]\nCOUPE: [Forme g\u00e9om\u00e9trique pr\u00e9cise de la taille]\nCOULEUR: [Description d\u00e9taill\u00e9e et pr\u00e9cise de la couleur]\nDES... [2025-03-31 18:10:53][INFO] Headers envoyés à OpenAI: {"Content-Type":"application\/json","Authorization":"Bearer sk-proj-NT..."} [2025-03-31 18:10:53][INFO] Envoi de la requête à OpenAI... [2025-03-31 18:11:01][DEBUG] Logs cURL: * Trying 172.66.0.243... * TCP_NODELAY set * Connected to api.openai.com (172.66.0.243) port 443 (#0) * ALPN, offering h2 * ALPN, offering http/1.1 * successfully set certificate verify locations: * CAfile: none CApath: /etc/ssl/certs * SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 * ALPN, server accepted to use h2 * Server certificate: * subject: CN=api.openai.com * start date: Mar 22 23:32:23 2025 GMT * expire date: Jun 21 00:32:21 2025 GMT * subjectAltName: host "api.openai.com" matched cert's "api.openai.com" * issuer: C=US; O=Google Trust Services; CN=WE1 * SSL certificate verify ok. * Using HTTP2, server supports multi-use * Connection state changed (HTTP/2 confirmed) * Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0 * Using Stream ID: 1 (easy handle 0x5587a5abe060) > POST /v1/chat/completions HTTP/2 Host: api.openai.com Accept: */* Content-Type: application/json Authorization: Bearer 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 Content-Length: 223898 * old SSL session ID is stale, removing * Connection state changed (MAX_CONCURRENT_STREAMS == 100)! * We are completely uploaded and fine < HTTP/2 200 < date: Mon, 31 Mar 2025 16:11:01 GMT < content-type: application/json < content-length: 1452 < access-control-expose-headers: X-Request-ID < openai-organization: user-6hjewiskqfnipkjiigvkogot < openai-processing-ms: 7409 < openai-version: 2020-10-01 < x-ratelimit-limit-input-images: 50000 < x-ratelimit-limit-requests: 500 < x-ratelimit-limit-tokens: 30000 < x-ratelimit-remaining-input-images: 49999 < x-ratelimit-remaining-requests: 499 < x-ratelimit-remaining-tokens: 28984 < x-ratelimit-reset-input-images: 1ms < x-ratelimit-reset-requests: 120ms < x-ratelimit-reset-tokens: 2.032s < x-request-id: req_c40af517bb30ab94252e9de1b0625033 < strict-transport-security: max-age=31536000; includeSubDomains; preload < cf-cache-status: DYNAMIC < set-cookie: __cf_bm=bia0p8eo1HFZUK7aHVgUFeJNFvxvn_cbR9dPoA4Y_G0-1743437461-1.0.1.1-tGFp_y_Rh69nHpI0onDbOMdux3vUVlu0GvzJxQ5fgtPTJ3llF1iqaCAV8EoRv0s8OVby94zVQB0ObIRlI_njoyzDHnrC06xd1tDoHIgJ0r4; path=/; expires=Mon, 31-Mar-25 16:41:01 GMT; domain=.api.openai.com; HttpOnly; Secure < x-content-type-options: nosniff < set-cookie: _cfuvid=xniINYDycvNj7493YatMCgj6En6yosr6FIOgzDjTvtI-1743437461148-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None < server: cloudflare < cf-ray: 92911e921ba23ca4-CDG < alt-svc: h3=":443"; ma=86400 < * Connection #0 to host api.openai.com left intact [2025-03-31 18:11:01][INFO] Code HTTP reçu: 200 [2025-03-31 18:11:01][INFO] Réponse reçue (début): { "id": "chatcmpl-BHC0s0iaenmBdZNv76Rfb5VH1bAPs", "object": "chat.completion", "created": 1743437454, "model": "gpt-4o-2024-11-20", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "NOM: Améthyste \nCOUPE: Poire \nCOULEUR: Violet intense avec des nuances de pourpre et des reflets légèrement rosés. \nDESCRIPTION: Pierre transparente avec une excellente clarté. Aucune inclusion visible à l'œil nu. La taille en poire est sym...