Skip to content

fix(remote): preserve CLI model for remote sessions#4383

Merged
iscekic merged 2 commits into
mainfrom
remote-cli-model
Jul 3, 2026
Merged

fix(remote): preserve CLI model for remote sessions#4383
iscekic merged 2 commits into
mainfrom
remote-cli-model

Conversation

@iscekic

@iscekic iscekic commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add SDK session type/provider tracking and a shared CLI model sentinel/label for remote sessions.
  • Pin a "CLI model" option in mobile and web remote composers, selected by default, so sends omit model/variant and preserve the CLI session provider.
  • Keep explicit gateway model selection behavior available and covered by SDK/mobile picker tests.

Verification

  • Manual end-to-end BYOK remote session verification left for reviewer: start a CLI remote session on an Anthropic BYOK model, send from phone/web with CLI model selected, verify the CLI remains on the Anthropic provider, then explicitly select a gateway model and verify it switches.

Visual Changes

N/A

Reviewer Notes

  • Branch is currently behind latest main by unrelated commits; PR diff is limited to this feature.
  • PLAN.md is intentionally left untracked and not included.

@iscekic iscekic self-assigned this Jul 3, 2026
@iscekic iscekic merged commit db2936b into main Jul 3, 2026
18 checks passed
@iscekic iscekic deleted the remote-cli-model branch July 3, 2026 13:50
iscekic added a commit that referenced this pull request Jul 3, 2026
Composes #4383's pinned CLI model row with the favorites picker rows:
the CLI row stays first (above FAVORITES), is excluded from the favorites
and section groups, and does not render a favorite star.
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.

2 participants