[Bug]: t3_thread_configure effort change waits for the next turn, though Claude can apply it live

Offen
#34,349 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

@juliusmarminge arbeitet bereits daran.

Seit 11.11.2026.

  • #34563 von @juliusmarminge — offen

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
68/100
Issue-Typ
Bug
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
typescript
Bereich
backend, desktop

Rechercherichtung

Read Orchestrator.ts for thread.model-selection.set, then inspect the turn-start path in ClaudeAdapterV2.ts and how canApplyClaudeSelectionLive gates live flag updates. Reproduce by changing only effort during a running Claude turn and check whether the current turn uses the new value without ending or restarting. Done when that change applies live while preserving the same process and prompt cache.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

bug needs-triage
Before submitting
  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.
Area

apps/desktop

Steps to reproduce
  1. In a running Claude turn, the agent calls t3_thread_configure on its own thread, changing only effort (e.g. high -> xhigh).
  2. The agent keeps working in the same turn.
Expected behavior

The new effort applies to the rest of the running turn, as Claude Code's own /effort does, keeping the same process and prompt cache.

Actual behavior

The running turn keeps the old effort; it applies only when a new turn starts. An agent needing more effort for its next step must queue a message to itself and end its turn: an extra turn, extra tokens and a wait.

Source: thread.model-selection.set only stores the selection (Orchestrator.ts). The only live call, live.query.applyFlagSettings(claudeLiveSelectionFlagSettings(...)) in ClaudeAdapterV2.ts, runs in the turn-start path. Suggested fix: when the thread has a live query and canApplyClaudeSelectionLive holds, call applyFlagSettings at configure time too.

Impact

Major degradation or frequent failure

Version or commit

0.1.9-nightly.20261111.4515 (source read at e4d86abca9)

Environment

macOS, desktop app, Claude provider

Logs or stack traces

Screenshots, recordings, or supporting files

No response

Workaround

Queue a message to the same thread and end the turn.

Vorherrschende Sprache
TypeScript
Sterne
24.8k
Forks
6.4k
Ø Merge
10 Std. 56 Min.
Gemergte PRs (30 T.)
226

Entwicklungsumgebung

In Codespaces öffnen

Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus pingdotgg/t3code

Alle Issues in pingdotgg/t3code

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.