[Bug]: Antigravity existing sessions reject newly discovered models due to stale cached configOptions
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 42/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- typescript
- Domínio
- ai-infra-agents, backend
Direção de pesquisa
Start in apps/server/src/provider/acp/AntigravityAcpSupport.ts with applyAntigravityAcpModelSelection, which validates the model against runtime.getConfigOptions and fails with AcpRequestError.invalidParams. Then trace how AntigravityDriver.refreshModels and makeDisposableRuntime publish newly discovered models, since existing sessions never see them. Done means a model discovered after a session started can be selected on that existing thread and the turn starts, either by refreshing the cached options or by restarting the ACP session.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/server
Steps to reproduce
- Start a thread with the Antigravity provider (
agy acp), which keeps a long-livedAcpSessionRuntimeopen and caches theconfigOptionsreturned by the initialsession/new. - Wait for
AntigravityDriver.refreshModels(or a backend/CLI rollout such asgemini-pro-orchestratorbecoming available) to spawn a freshmakeDisposableRuntime(session/new) that discovers a newly available model and updates the UI model catalog. - Return to the existing thread whose ACP session is still alive from before the new model appeared, switch its model selector to the newly discovered model (e.g.
gemini-pro-orchestrator), and send a message.
Expected behavior
Either session/set_config_option / setModel applies the newly available model on the agent (or T3 Code restarts/refreshes the ACP session if the live session's cached configOptions are stale), allowing the turn to start normally.
Actual behavior
T3 Code rejects the model locally in applyAntigravityAcpModelSelection (~0.07–0.22 ms, without sending session/set_config_option to agy) because it validates solely against the existing session's cached runtime.getConfigOptions:
Provider error
The agent did not accept the model "gemini-pro-orchestrator". Choose another model for this provider, then retry.
Even though agy models and a fresh agy acp session/new both list gemini-pro-orchestrator (Orchestrator) as available for the same Google account.
As soon as session/close happened on that thread and a new agy acp runtime was started (session/new), applyAntigravityAcpModelSelection and session/set_config_option immediately succeeded with gemini-pro-orchestrator.
Impact
Minor bug or occasional failure
Version or commit
0.1.10-nightly.20261112.4580 (also present in origin/main @ 637507056 in apps/server/src/provider/acp/AntigravityAcpSupport.ts)
Environment
Linux (T3-Code.AppImage 0.1.10-nightly.20261112.4580), Antigravity CLI 1.5.6 / 1.5.7 (oauth-personal), model gemini-pro-orchestrator
Logs or stack traces
ProviderAdapterTurnStartError: Failed to start run ... on antigravity provider thread ...
[cause]: AcpModelSelectionError: The agent did not accept the model "gemini-pro-orchestrator". Choose another model for this provider, then retry.
at rejectedModel (...)
[cause]: AcpRequestError: Antigravity model 'gemini-pro-orchestrator' is unavailable for this Google account. Select an available model.
at AcpRequestError.invalidParams (...)
at applyAntigravityAcpModelSelection (...)
at AntigravityAdapterV2.applyModelSelection (...)
at AcpAdapterV2.startTurn (...)
In apps/server/src/provider/acp/AntigravityAcpSupport.ts, applyAntigravityAcpModelSelection checks antigravityModelOptions(yield* input.runtime.getConfigOptions) and immediately fails with AcpRequestError.invalidParams if the model isn't in that session's cached configOptions. Because AntigravityDriver.refreshModels updates the provider catalog via a separate disposable runtime without refreshing existing active sessions' configOptions, any pre-existing thread rejects newly added models until its ACP process is closed and recreated.
Workaround
Close/restart the provider session (or restart T3 Code / open a new thread) so agy acp starts a fresh session/new and picks up the updated configOptions.
- Linguagem predominante
- TypeScript
- Estrelas
- 24.8k
- Forks
- 6.4k
- Merge médio
- 59min
- PRs com merge (30d)
- 418
Preparar o ambiente
Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de pingdotgg/t3code
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 66/100
Mantenedores costumam responder em até 1 dia
-
via-triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 Meio dia Facilidade para iniciantes 68/100
Mantenedores costumam responder em até 1 dia
-
Question card options show LaTeX as raw source, though the question text renders itTalvez já em andamento Um pull request vinculado a esta issue está aberto ou já foi mesclado. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
Mantenedores costumam responder em até 1 dia
-
[Bug]: Settings inheritance popover shows raw slugs for branch naming, default permissions and response streamingTalvez já em andamento @juliusmarminge assumiu há 1 dia. Abertavouch:denounced
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
Mantenedores costumam responder em até 1 dia
Todas as issues de pingdotgg/t3code
Issues semelhantes
-
skill fork: kickoff message "Run the X skill now" makes the child call the skill tool on itselfAbertaarea: skills bug priority: medium
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 68/100
griffinwork40/agent-afk#4874 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
paperclipai/paperclip#21503 ·
Mantenedores costumam responder em até 1 dia
-
[Bug] List: the reorder hint's Move up stays enabled on the first row, and Move down on the lastAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 83/100
-
Blocklist addition requestAbertablocklist addition
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
MetaMask/eth-phishing-detect#312343 ·
Mantenedores costumam responder em até 1 dia
-
packages:player
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
Mantenedores costumam responder em até 1 dia