Skip to content

Document Java memory section and add Copilot Memory links across SDK READMEs#1783

Merged
SteveSandersonMS merged 3 commits into
github:mainfrom
Morabbin:document-java-memory
Jun 24, 2026
Merged

Document Java memory section and add Copilot Memory links across SDK READMEs#1783
SteveSandersonMS merged 3 commits into
github:mainfrom
Morabbin:document-java-memory

Conversation

@Morabbin

@Morabbin Morabbin commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add a Java SDK Memory section with working examples for createSession and resumeSession
  • Keep Java quick-start flow contiguous by placing Memory after Try it with JBang
  • Add an "About GitHub Copilot Memory" link in each SDK Memory section (Node, Python, Go, .NET, Rust, Java)
  • Align Java memory examples with runtime requirements by including PermissionHandler.APPROVE_ALL

Testing

  • Documentation changes only

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 24, 2026 10:32
@Morabbin Morabbin requested a review from a team as a code owner June 24, 2026 10:32

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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(...) and ResumeSessionConfig#setMemory(...).
  • Clarify default behavior when memory is unset for CopilotClientMode.COPILOT_CLI vs CopilotClientMode.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

Comment thread java/README.md
Comment thread java/README.md
Comment thread java/README.md
Morabbin and others added 2 commits June 24, 2026 11:39
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@Morabbin Morabbin changed the title Document memory for Java SDK sessions Document Java memory section and add Copilot Memory links across SDK READMEs Jun 24, 2026
@Morabbin Morabbin requested a review from Copilot June 24, 2026 11:49

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot's findings

  • Files reviewed: 6/6 changed files
  • Comments generated: 0 new

@SteveSandersonMS SteveSandersonMS added this pull request to the merge queue Jun 24, 2026
Merged via the queue into github:main with commit b82f552 Jun 24, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants