Document Java memory section and add Copilot Memory links across SDK READMEs#1783
Merged
Merged
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the Java SDK documentation to explain how to configure session “memory” (persistent cross-turn memory) for both new sessions (createSession) and resumed sessions (resumeSession), including how defaults behave under different CopilotClientModes.
Changes:
- Add a new Memory section to
java/README.md. - Document enabling/disabling memory via
SessionConfig#setMemory(...)andResumeSessionConfig#setMemory(...). - Clarify default behavior when
memoryis unset forCopilotClientMode.COPILOT_CLIvsCopilotClientMode.EMPTY.
Show a summary per file
| File | Description |
|---|---|
| java/README.md | Adds Memory documentation and examples for configuring memory on create/resume, plus default-mode behavior explanation. |
Copilot's findings
- Files reviewed: 1/1 changed files
- Comments generated: 3
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
SteveSandersonMS
approved these changes
Jun 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Memorysection with working examples forcreateSessionandresumeSessionMemoryafterTry it with JBangPermissionHandler.APPROVE_ALLTesting