Skip to content

[Bug]: New-tab Pi launcher ignores model selection and lacks thinking-effort options #39155

Closed

Description

@wuhaoyujerry

Operating system

macOS 26.7.1, Apple Silicon (arm64).

Orca version

1.4.251. Pi CLI: 1.5.0. Reported on a local desktop workspace; SSH, WSL, Linux, and Windows have not been verified.

Details

Summary

The + new-tab/new-agent launcher offers a model choice for Pi, but the Pi terminal session that starts does not honor that choice. The launcher also lacks a thinking-effort selector for Pi.

This report concerns the desktop launcher, not a CLI command refusing --model or --effort.

Steps to reproduce

  1. Open a local workspace and its + new-tab/new-agent menu.
  2. Select a model under Pi that differs from Pi's configured default.
  3. Launch Pi in Terminal/CLI mode.
  4. Compare Pi's active model with the model selected in the launcher.

Also inspect Pi's launch options: there is no thinking-effort control alongside the model choice.

Expected behavior

  • The launched Pi TUI uses the model selected in Orca.
  • For a model that supports thinking, Orca offers the supported thinking-effort choices and applies the selected level to the launched session.
  • Leaving options untouched preserves Pi's own configured defaults.

Actual behavior

  • Orca offers a model selection, but the launched Pi TUI does not use the selected model.
  • Pi's launch options do not expose thinking effort.

The actual launcher capture shows Claude Opus 5.5 checked. The subsequent Pi v1.5.0 capture reports openai-codex/gpt-6.1-sol · medium effort instead.

Launcher scope note

The launcher visibly says: “Pi model or effort choices without a CLI flag apply to chats.” The screenshot preserves that note. This may be an existing terminal-launch limitation rather than an internally lost setting. The GUI still offers a checked model choice beside Launch terminal, while that terminal starts on a different model. Please either apply the model/effort choices to terminal launches or make their chat-only scope unambiguous for this action.

Additional local investigation

A hidden Electron regression test exercised + → Pi with a saved model and effort, using a stub executable that prints the arguments it actually receives. During investigation, the child received [] despite the saved selection. After local changes to the Pi option mapping and terminal preference path, it received:

["--model", "test/model", "--thinking", "high"]

The test seeded the saved selection directly rather than clicking the model submenu, and used a stub rather than a real Pi/provider call. It confirms a terminal-launch preference-loss path, not the complete installed-app picker-to-provider flow.

The development checkout used for this investigation was based on 7f203ad5aabc, separate from the installed 1.4.251 app. In that checkout, Pi had no session-option catalog entry, and saved session preferences were only forwarded when the initial view resolved to Chat. These are findings from that checkout, not a claim that current upstream main has an identical implementation.

Related reports

Screenshots: actual launcher and Pi TUI

Actual desktop captures from the reporter, cropped only to remove unrelated terminal content. These replace the earlier diagnostic-stub screenshot.

1. Orca launcher (12:24:56): Claude Opus 5.5 is checked. The highlighted/hovered Claude Opus 4.5 row is not the checked selection. The crop preserves the chat-only scope note and Launch terminal button. No thinking-effort selector is visible.

Orca Pi launcher with Claude Opus 5.5 checked, chat-only scope note, and Launch terminal button

2. Pi TUI after launch (12:25:14): Pi reports openai-codex/gpt-6.1-sol · medium effort, rather than the checked Claude model.

Launched Pi TUI reporting openai-codex/gpt-6.1-sol with medium effort

Activity

  1. changed the title [-][Bug]: Pi launcher ignores selected model and lacks thinking-effort selection[/-] [+][Bug]: New-tab Pi launcher ignores model selection and lacks thinking-effort options[/+] on Nov 6, 2026
  2. lucas-wu-wakakak commented on Nov 7, 2026

    @lucas-wu-wakakak
    Contributor

    The model half of this report is fixed by #36587: Pi now has a launch catalog, so a terminal launch emits --model <provider/id> and --thinking <level> instead of dropping the selection.

    The thinking-effort half is fixed there as well, and it needed a second change: the launcher reads getAgentSessionOptionCatalog, not the launch-only catalog, so registering Pi only for launch kept the effort row (and the "apply to chats" note) as before. #36587 registers the catalog for both, so the launcher offers Pi's thinking level with the flag a terminal launch applies, and the note disappears.

    Root cause on this checkout, for the record: TuiAgent listed pi, but src/shared/agent-session/options/ shipped catalogs for every agent except Pi, so getAgentSessionOptionLaunchCatalog('pi') was null and neither the CLI nor the terminal launch path could turn a saved model into a flag.

    #38424 covers the same catalog registration; #36587 is the superset (seeded chat launch, launch intent, receipt, -m and --provider handling, help/docs), so they should not both be merged.

  3. AmoabaKelvin commented on Nov 11, 2026

    @AmoabaKelvin
    Collaborator

    Thanks @wuhaoyujerry for the report. Fixed by #41005 (Pi terminal launches start on the picked model) and #41006 (a thinking level for Pi terminal launches). Both ship in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions