Add Rust runtime lock settings#1996
Open
SlowGreek wants to merge 1 commit into
Open
Conversation
Expose typed model and context-tier locks on create and resume session configs and serialize them through the nested runtimeSettings wire payload. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: a93a18e3-4a6d-4667-97fe-9252838f19cf
Contributor
There was a problem hiding this comment.
Pull request overview
Adds typed Rust runtime lock settings and forwards them through session create/resume payloads.
Changes:
- Adds
RuntimeSettingswith model and context-tier locks. - Integrates settings into create/resume configs and wire serialization.
- Tests serialization and omission when absent.
Show a summary per file
| File | Description |
|---|---|
rust/src/types.rs |
Defines the public API, builders, forwarding, and tests. |
rust/src/wire.rs |
Adds runtime settings to create/resume wire payloads. |
Review details
- Files reviewed: 2/2 changed files
- Comments generated: 0
- Review effort level: Medium
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
RuntimeSettingsAPI with optional model and context-tier locksruntimeSettings.modelLockandruntimeSettings.contextTierLockon session create and resumeTesting
cargo +nightly-2026-04-14 fmt --checkcargo clippy --all-features --all-targets -- -D warningscargo test runtime_settings --all-features