You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 03-CoreGenerativeAITechniques/examples/src/main/java/com/example/genai/techniques/completions/LLMCompletionsApp.java
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -59,6 +59,9 @@ public static void main(String[] args) {
59
59
60
60
// Example 3: Interactive chat
61
61
interactiveChat(client);
62
+
63
+
// Force proper cleanup to avoid thread lingering warnings
Copy file name to clipboardExpand all lines: 03-CoreGenerativeAITechniques/examples/src/main/java/com/example/genai/techniques/functions/FunctionsApp.java
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -59,6 +59,9 @@ public static void main(String[] args) {
59
59
// Example 2: Calculator function
60
60
System.out.println("=== Calculator Function Example ===");
61
61
calculatorFunctionExample(client);
62
+
63
+
// Force proper cleanup to avoid thread lingering warnings
Copy file name to clipboardExpand all lines: 03-CoreGenerativeAITechniques/examples/src/main/java/com/example/genai/techniques/rag/SimpleReaderDemo.java
Copy file name to clipboardExpand all lines: 03-CoreGenerativeAITechniques/examples/src/main/java/com/example/genai/techniques/responsibleai/ResponsibleGithubModels.java
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -70,6 +70,9 @@ public static void main(String[] args) {
70
70
System.out.println("\n=== Summary ===");
71
71
System.out.println("This demonstration shows how GitHub Models implements responsible AI");
72
72
System.out.println("safety measures by filtering harmful content and protecting users.");
73
+
74
+
// Force proper cleanup to avoid thread lingering warnings
0 commit comments