mirror of
https://github.com/github/awesome-copilot.git
synced 2026-04-10 18:25:55 +00:00
Update cookbook/copilot-sdk/java/recipe/PersistingSessions.java
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -25,10 +25,10 @@ public class PersistingSessions {
|
||||
.setPrompt("Let's discuss TypeScript generics")).get();
|
||||
|
||||
System.out.println("\nSession ID: " + session.getSessionId());
|
||||
System.out.println("Session closed — data persisted to disk.");
|
||||
|
||||
// Close session but keep data on disk for later resumption
|
||||
session.close();
|
||||
System.out.println("Session closed — data persisted to disk.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user