Skip to content

Update @github/copilot to 1.0.56-2#1495

Merged
dmytrostruk merged 5 commits into
mainfrom
update-copilot-1.0.56-2
May 29, 2026
Merged

Update @github/copilot to 1.0.56-2#1495
dmytrostruk merged 5 commits into
mainfrom
update-copilot-1.0.56-2

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

Automated update of @github/copilot to version 1.0.56-2.

Changes

  • Updated @github/copilot in nodejs/package.json and test/harness/package.json
  • Re-ran all code generators (scripts/codegen)
  • Formatted generated output

Next steps

When ready, click Ready for review to trigger CI checks.

Created by the Update @github/copilot Dependency workflow.

- Updated nodejs and test harness dependencies
- Re-ran code generators
- Formatted generated code
@dmytrostruk dmytrostruk marked this pull request as ready for review May 29, 2026 17:35
@dmytrostruk dmytrostruk requested a review from a team as a code owner May 29, 2026 17:35
Copilot AI review requested due to automatic review settings May 29, 2026 17:35
@SteveSandersonMS
Copy link
Copy Markdown
Contributor

@dmytrostruk I see the runtime updates let you read what the model context tier is, but it doesn't look like we still don't pass any context tier option to session.create for any of the SDK languages, so maybe there's no way to control it. Were you expecting that to be added?

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@dmytrostruk
Copy link
Copy Markdown
Contributor

Were you expecting that to be added?

@SteveSandersonMS Let me check this, I thought based on schema from runtime this will be auto-generated or am I missing something?

@dmytrostruk
Copy link
Copy Markdown
Contributor

@SteveSandersonMS I see, session.create and session.resume is outside of schema generation, I will add this by myself, thanks for catching this

@SteveSandersonMS
Copy link
Copy Markdown
Contributor

SteveSandersonMS commented May 29, 2026

@dmytrostruk Yes, after GA we should move session.create/resume to be generated from schema, but we didn't yet migrate all the original APIs. Adding the parameters to the clients manually is the right thing for now.

@github-actions
Copy link
Copy Markdown
Contributor Author

Cross-SDK Consistency Review

This PR adds contextTier to Node.js, Python, Go, .NET, and Rust SDKs — great coverage! However, the Java SDK is missing this feature.

The following Java files need contextTier support to match the other SDKs:

File Change needed
java/src/main/java/com/github/copilot/rpc/SessionConfig.java Add private String contextTier; field + getter/setter (after reasoningSummary)
java/src/main/java/com/github/copilot/rpc/CreateSessionRequest.java Add @JsonProperty("contextTier") private String contextTier; field + getter/setter
java/src/main/java/com/github/copilot/rpc/ResumeSessionRequest.java Add @JsonProperty("contextTier") private String contextTier; field + getter/setter
java/src/main/java/com/github/copilot/rpc/ResumeSessionConfig.java Add private String contextTier; field + getter/setter
java/src/main/java/com/github/copilot/SessionRequestBuilder.java Propagate config.getContextTier()request.setContextTier(...) in both buildCreateRequest and buildResumeRequest

The pattern follows exactly how reasoningSummary is implemented in each of those files.

Generated by SDK Consistency Review Agent for issue #1495 · ● 4.6M ·

@github-actions github-actions Bot mentioned this pull request May 29, 2026
@dmytrostruk dmytrostruk added this pull request to the merge queue May 29, 2026
Merged via the queue into main with commit 644234d May 29, 2026
45 checks passed
@dmytrostruk dmytrostruk deleted the update-copilot-1.0.56-2 branch May 29, 2026 19:13
Comment thread dotnet/src/Types.cs
/// Context window tier for models that support it.
/// Valid values: "default", "long_context".
/// </summary>
public string? ContextTier { get; set; }
Copy link
Copy Markdown
Collaborator

@stephentoub stephentoub May 29, 2026

Choose a reason for hiding this comment

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

This should be used a strongly-typed string enum, no?

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.

4 participants