We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a9656e commit 1fdb2dfCopy full SHA for 1fdb2df
02-SetupDevEnvironment/src/github-models/src/main/java/com/example/githubmodels/App.java
@@ -62,6 +62,10 @@ public static void main(String[] args) {
62
// .message().content() gets the actual text content of the response
63
// .orElse() provides a fallback if no content is returned
64
System.out.println("Response: " + response.choices().get(0).message().content().orElse("No response content"));
65
+
66
+ // remove messages from maven threads
67
+ System.exit(0);
68
69
} catch (Exception e) {
70
// Handle various types of errors that might occur
71
System.err.println("Error occurred: " + e.getMessage());
0 commit comments