Enable conversation-scoped speed selection for Cloud turns (#61178)

## What changed

- Stage Cloud speed choices for the next new turn in the conversation, alongside pending model and effort selections. Update the displayed conversation speed after admission without changing the local default.
- Offer speed commands supported by the pending model. Clear an incompatible pending speed change with a warning when switching models.
- Carry `service_tier` through Cloud message requests, preserving omission to inherit the thread tier and explicit null to clear it. Translate `default` to null and reject tier overrides on queued requests.

## Testing

Add tests for Cloud speed toggling, model-dependent speed choices, admission-time updates, and preserving the conversation tier when selecting a model. Extend request and wire tests to cover service-tier values, explicit clearing, and queue rejection.

GitOrigin-RevId: b4daa701f1fe29593d90a938e60cc20cb980298a
This commit is contained in:
Benjamin Carlsson
2026-11-12 20:56:33 +00:00
committed by copyberry
parent 72532ecae5
commit b279cfb170
20 changed files with 583 additions and 73 deletions
@@ -135,6 +135,7 @@ impl ChatWidget {
model_catalog,
model_popup_request_id: None,
cloud_picker_selection: None,
pending_cloud_turn_settings: None,
permission_popup_pending: false,
permission_popup_request_id: None,
permission_discovery: None,
@@ -148,6 +149,7 @@ impl ChatWidget {
status_account_display,
remote_connection: None,
snapshot_local_images: false,
thread_settings_owner: crate::app_server_session::ThreadSettingsOwner::Client,
pending_image_submission: None,
local_worktree_operations: true,
windows_sandbox_local_server: false,