Professor boa tarde,
O meu chatbot funciona todas as perguntas mas na terceira pergunta, ele processa muito e não responde nem o mais simples como por exemplo "Qual o nome da loja?". Quando aperto limpar conversa ele acusa erro no springboot: for method OpenAiApi.retrieveRun] with root cause
java.lang.IllegalArgumentException: Path parameter "thread_id" value must not be null. (parameter #1) for method OpenAiApi.retrieveRun at retrofit2.Utils.methodError(Utils.java:54) ~[retrofit-2.9.0.jar:na] at retrofit2.Utils.methodError(Utils.java:43) ~[retrofit-2.9.0.jar:na] at retrofit2.Utils.parameterError(Utils.java:64) ~[retrofit-2.9.0.jar:na] at retrofit2.ParameterHandler$Path.apply(ParameterHandler.java:113) ~[retrofit-2.9.0.jar:na] at retrofit2.RequestFactory.create(RequestFactory.java:129) ~[retrofit-2.9.0.jar:na] at retrofit2.OkHttpCall.createRawCall(OkHttpCall.java:208) ~[retrofit-2.9.0.jar:na] at retrofit2.OkHttpCall.getRawCall(OkHttpCall.java:107) ~[retrofit-2.9.0.jar:na] at retrofit2.OkHttpCall.execute(OkHttpCall.java:197) ~[retrofit-2.9.0.jar:na] at retrofit2.adapter.rxjava2.CallExecuteObservable.subscribeActual(CallExecuteObservable.java:46) ~[adapter-rxjava2-2.9.0.jar:na] at io.reactivex.Observable.subscribe(Observable.java:10151) ~[rxjava-2.0.0.jar:2.0.0] at retrofit2.adapter.rxjava2.BodyObservable.subscribeActual(BodyObservable.java:35) ~[adapter-rxjava2-2.9.0.jar:na] at io.reactivex.Observable.subscribe(Observable.java:10151) ~[rxjava-2.0.0.jar:2.0.0] at io.reactivex.internal.operators.observable.ObservableSingleSingle.subscribeActual(ObservableSingleSingle.java:35) ~[rxjava-2.0.0.jar:2.0.0] at io.reactivex.Single.subscribe(Single.java:2517) ~[rxjava-2.0.0.jar:2.0.0] at io.reactivex.Single.blockingGet(Single.java:2001) ~[rxjava-2.0.0.jar:2.0.0] at com.theokanning.openai.service.OpenAiService.execute(OpenAiService.java:513) ~[service-0.18.2.jar:na] at com.theokanning.openai.service.OpenAiService.retrieveRun(OpenAiService.java:467) ~[service-0.18.2.jar:na] at br.com.alura.ecomart.chatbot.infra.openai.OpenAIClient.enviarRequisicaoChatCompletion(OpenAIClient.java:76) ~[classes/:na] at br.com.alura.ecomart.chatbot.domain.service.ChatBotService.responderPergunta(ChatBotService.java:22) ~[classes/:na] at br.com.alura.ecomart.chatbot.web.controller.ChatController.responderPergunta(ChatController.java:36) ~[classes/:na] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[na:na] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na] at java.base/java.lang.reflect.Method.invoke(Method.java:568) ~[na:na] at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:254) ~[spring-web-6.1.1.jar:6.1.1] at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:182) ~[spring-web-6.1.1.jar:6.1.1] at