This commit is contained in:
root
2025-10-13 17:57:58 +05:00
parent 613b78cd6c
commit 49befe21e4
@@ -39,6 +39,11 @@ public class OpenAiChartService {
logger.warn("OpenAI API key is not configured. OpenAiChartService will not work.");
}
System.out.println("OpenAI API key: " + apiKey);
System.out.println("OpenAI API url: " + apiUrl);
System.out.println("OpenAI model name: " + modelName);
System.out.println("OpenAI timeoutMs: " + timeoutMs);
HttpClient httpClient = HttpClient.create();
this.webClient = WebClient.builder()
.baseUrl(apiUrl)