Fiz a implementação como no curso e como está na documentação, porém sempre retorna erro HTTP 429 no código, mesmo fazendo apenas uma única requisição, poderia ser alguma mudaça na API da OPEN API ou alguma configuração necessária na OPEN API que não foi realizada?
HttpClient: REQUEST: https://api.openai.com/v1/chat/completions
10:23:36.986 I METHOD: HttpMethod(value=POST)
10:23:36.987 I COMMON HEADERS
10:23:36.987 I -> Accept: application/json
10:23:36.987 I -> Accept-Charset: UTF-8
10:23:36.987 I -> Authorization: ***
10:23:36.987 I CONTENT HEADERS
10:23:36.987 I -> Content-Length: 233
10:23:36.987 I -> Content-Type: application/json
10:23:37.002 Choreographer I Skipped 50 frames! The application may be doing too much work on its main thread.
10:23:37.777 System.out I HttpClient: RESPONSE: 429
10:23:37.777 I METHOD: HttpMethod(value=POST)
10:23:37.777 I FROM: https://api.openai.com/v1/chat/completions
10:23:37.777 I COMMON HEADERS
10:23:37.777 I -> alt-svc: h3=":443"; ma=86400
10:23:37.777 I -> cf-cache-status: DYNAMIC
10:23:37.777 I -> cf-ray: 9685a6a80ce2fefc-GRU
10:23:37.777 I -> content-length: 337
10:23:37.777 I -> content-type: application/json; charset=utf-8
10:23:37.777 I -> date: Fri, 01 Aug 2025 13:23:36 GMT
10:23:37.777 I -> server: cloudflare
10:23:37.777 I -> strict-transport-security: max-age=31536000; includeSubDomains; preload
10:23:37.777 I -> vary: Origin
10:23:37.778 I -> x-content-type-options: nosniff
10:23:37.778 I -> x-envoy-decorator-operation: router.openai.svc.cluster.local:5004/*
10:23:37.778 I -> x-envoy-upstream-service-time: 107
10:23:37.778 I -> x-request-id: req_289b82d0ab00b0e6c69240c21e65cfb7
10:24:38.503 I HttpClient: REQUEST: https://api.openai.com/v1/chat/completions
10:24:38.503 I METHOD: HttpMethod(value=POST)
10:24:38.503 I COMMON HEADERS
10:24:38.504 I -> Accept: application/json
10:24:38.504 I -> Accept-Charset: UTF-8
10:24:38.504 I -> Authorization: ***
10:24:38.504 I CONTENT HEADERS
10:24:38.504 I -> Content-Length: 233
10:24:38.504 I -> Content-Type: application/json
10:24:39.048 I HttpClient: RESPONSE: 429
10:24:39.048 I METHOD: HttpMethod(value=POST)
10:24:39.049 I FROM: https://api.openai.com/v1/chat/completions
10:24:39.049 I COMMON HEADERS
10:24:39.049 I -> alt-svc: h3=":443"; ma=86400
10:24:39.049 I -> cf-cache-status: DYNAMIC
10:24:39.049 I -> cf-ray: 9685a8275a83fefc-GRU
10:24:39.049 I -> content-length: 337
10:24:39.049 I -> content-type: application/json; charset=utf-8
10:24:39.049 I -> date: Fri, 01 Aug 2025 13:24:38 GMT
10:24:39.050 I -> server: cloudflare
10:24:39.050 I -> strict-transport-security: max-age=31536000; includeSubDomains; preload
10:24:39.050 I -> vary: Origin
10:24:39.050 I -> x-content-type-options: nosniff
10:24:39.050 I -> x-envoy-decorator-operation: router.openai.svc.cluster.local:5004/*
10:24:39.050 I -> x-envoy-upstream-service-time: 42
10:24:39.051 I -> x-request-id: req_1d1d8325deef1b32f4f781142226d4c1