apupier commented on code in PR #23531:
URL: https://github.com/apache/camel/pull/23531#discussion_r3304879384


##########
components/camel-ai/camel-openai/src/main/java/org/apache/camel/component/openai/OpenAIEndpoint.java:
##########
@@ -138,6 +138,7 @@ protected void doStop() throws Exception {
             returnDirectTools.clear();
         }
         if (client != null) {
+            client.close();

Review Comment:
   Should we enclose in a try catch as it is done for the mcp clients?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to