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

Aperta
#34,349 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@juliusmarminge ci sta già lavorando.

Dal 11/11/2026.

  • #34563 di @juliusmarminge — aperta

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
68/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
backend, desktop

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
TypeScript
Stelle
24.8k
Fork
6.4k
Merge medio
10h 56m
PR unite (30g)
226

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di pingdotgg/t3code

Tutte le issue di pingdotgg/t3code

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.