Repository navigation
fix(voice): warm GPT-Live for a minute, not for as long as the screen is up - #90
Merged
Merged
Conversation
This was referenced Nov 15, 2026
Tarquinen
force-pushed
the
port-warmup
branch
from
November 15, 2026 06:32
1e17590 to
065286f
Compare
Port of iOS 1735b12e. With a phone-key GPT-Live route, every resumed session screen re-warmed the connection every 10 s for as long as it was up (an HTTPS request to api.openai.com on WebRTC, a fresh socket on WebSocket), so the radio never idled; a root covered by a subagent and Catch Up cards warmed too, each on its own loop. Now the screen in front warms for one minute (LiveSocketWarmer.warmWindow) and a call warms as it starts (also when the project picker opens first). Covered screens and Catch Up cards don't warm. iOS's 5 s WebRTC warm-up gap isn't ported: with only the front screen warming it saves at most one request. Verified: vm.sh check :feature:voice :feature:session passes. On the FX_2 emulator with a dummy phone key, tcpdump of api.openai.com traffic over 150 s after launch: dev sends a request every 10 s for all 150 s; this branch sends 6 (0-50 s) and then nothing.
Tarquinen
force-pushed
the
port-warmup
branch
from
November 16, 2026 00:48
065286f to
ff8e161
Compare
Merged
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
With a phone-key GPT-Live route, every open session screen re-warmed the connection every 10 s for as long as it was up, so the radio never went idle. Covered screens and Catch Up cards did it too. Now the screen in front warms for one minute, a call warms as it starts, and covered screens and Catch Up cards don't warm. iOS's 5 s WebRTC warm-up gap isn't ported: with only the front screen warming it saves at most one request.
iOS: 1735b12e
Verified on the emulator with a dummy phone key, counting requests to api.openai.com (tcpdump) for 150 s after launch:
dev: one request every 10 s for the whole 150 s.scripts/check.sh :feature:voice :feature:sessionpasses.