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
{{ message }}
Repository navigation
feat(app): allow model selection on automation proposals - #6478
Add a model picker to the automation.propose review card using OpenWork's existing AutomationModelButton and ModelPickerModal.
Preserve the member/runtime-available model catalog, reasoning variant selection, and the existing explicit Create Automation confirmation.
Submit the selected providerId, modelId, and variant through the existing Desktop or Cloud create API. An unavailable proposed model is never silently replaced; the person can select an available alternative in the card.
Add a regression test for explicitly selecting an available model when the proposal's model is unavailable.
Validation
bun test tests/automation-proposal-model.test.ts — 4 passed.
git diff --check — passed.
pnpm --filter @openwork/app typecheck is currently blocked by an existing upstream error at apps/app/src/react-app/domains/cloud/auto-access-ui.tsx:196 (TS18004: workspaceId is referenced but is not in scope). That file is unchanged in this branch and the error exists at base fcb6464.
Follow-up: fixed the no-model-proposed edge case in f2e34ddb40e131a470581b713ff6c533814853d6. The proposal now passes undefined to resolveProposalModel when no model was proposed, so Cloud and restricted Desktop placements can resolve to a model the member can actually run. The updated contributor screen passed. Maintainer review is still needed to authorize the gated test/Warden run for this exact head (/test f2e34ddb40e131a470581b713ff6c533814853d6). The Vercel app deployment also still requires Different AI team authorization.
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
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
Validation
This is a draft for review; it is not merged.