fix(app): restore model variant accessibility (#37857)

Co-authored-by: Aiden Cline <rekram1-node@users.noreply.github.com>
This commit is contained in:
opencode-agent[bot]
2026-07-20 05:20:56 +00:00
committed by GitHub
co-authored by Aiden Cline
parent 3b719aba48
commit 5586f9675e
2 changed files with 2 additions and 1 deletions
@@ -56,7 +56,7 @@ test("shows the V2 thinking level control while relevant", async ({ page }) => {
await page.goto(`/${base64Encode(directory)}/session/${sessionID}`)
const composer = page.locator('[data-component="prompt-input-v2"]')
const input = composer.locator('[data-component="prompt-input"]')
const control = composer.locator('button[title="Choose model variant"]')
const control = composer.getByRole("button", { name: "Choose model variant" })
await expectAppVisible(composer)
await idleComposer(page)
@@ -557,6 +557,7 @@ export function PromptInputV2Select(props: {
variant="ghost-muted"
size="normal"
class={`max-w-[220px] justify-start ![font-weight:440] ${props.class ?? ""}`}
aria-label={props.title}
>
{props.currentIcon}
<span class="truncate capitalize leading-5">