You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gate the experimental Auto tier options consistently. The .NET
SetModelOptions.AutoTier and .ResetAutoTier properties, the Java Auto tier
accessors, and the Python set_model auto_tier parameter now carry the same
experimental marker their dedicated setAutoTier counterparts already had.
Correct two documentation errors. The reset-state paragraph claimed four SDKs
cannot express reset in a single value; Rust can, through
AutoTierPreference::Reset, so only Go, .NET, and Java need a separate flag.
The live-switching section now states that it needs Copilot CLI 1.0.83-4,
which is newer than the 1.0.82-1 required to select a tier at create or resume.
Fix the Java class Javadoc, which said every option is optional when setModel
rejects a null model, and rewrite the Rust E2E doc comment to describe what it
covers instead of pointing at the Node.js test.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 2aad36e9-e078-4b9c-afa1-0c7cd2c71f74
Copy file name to clipboardExpand all lines: docs/features/session-persistence.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -271,7 +271,7 @@ The `session.start` and `session.resume` events expose the selected tier in thei
271
271
272
272
### Changing the Auto tier during a session
273
273
274
-
Call `setAutoTier` to change the routing preference on a live session without changing the selected model. Pass `null` (Python `None`, Go `nil`) to return to the provider's default Auto routing.
274
+
Call `setAutoTier` to change the routing preference on a live session without changing the selected model. Pass `null` (Python `None`, Go `nil`) to return to the provider's default Auto routing. This requires Copilot CLI `1.0.83-4` or later, which is newer than the `1.0.82-1` needed to select a tier when creating or resuming a session.
275
275
276
276
```typescript
277
277
const result =awaitsession.setAutoTier("intelligence");
@@ -309,7 +309,7 @@ To select the `auto` model and its routing preference in a single call, stage th
Node.jsand Python express all three states natively, because `null`/`None` is distinguishable from an omitted argument. The other four SDKs cannot make that distinction in a single value, so they carry a separate reset option. Omitting both always means "leave the current preference alone."
312
+
Node.js, Python, and Rust express all three states in a single value: Node.js and Python because `null`/`None` is distinguishable from an omitted argument, and Rust because `AutoTierPreference::Reset` is a distinct variant of the same option. Go, .NET, and Java have no way to distinguish "reset" from "unset" in one value, so they carry a separate reset flag. Omitting both always means "leave the current preference alone."
0 commit comments