Repository navigation
Windows AI that stops answering: say so sooner, log it; Phi Silica's line - #14
Merged
Merged
Conversation
…a's line After Windows' AI components updated, describing and reading text hung while the helper still said Ready, until the PC was restarted. Nothing in the log showed it, and a request could wait minutes. - A request now gives up after 90 seconds (was 3 minutes), saying restarting the PC may help, and one waiting behind it gives up at once, so the text comes from the built-in OCR. - A warm-up that hangs is logged, not taken for Quick Describe closing. - Describing logs when Windows AI can't be used. - Check Windows AI says Phi Silica isn't supported in Quick Describe yet, rather than just Ready. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- A warm-up's timeout is counted inside the request, before the next one's turn, so a request waiting behind a hung warm-up always gives up at once; and its limit counts only once it reaches the helper, so a warm-up waiting behind the person's own slow picture isn't taken for Windows not answering. - Model downloads no longer happen inside a request's time limit: the text recognizer is got ready at start too (a blank picture read by a helper of its own), reads use the built-in OCR meanwhile, and a description isn't asked for while its model isn't ready. - An unusable Windows AI is logged once, not with every picture. - Check Windows AI's Phi Silica line doesn't read out raw state names. - The flaky test changed the fake helper too late; fixed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merged
kellylford
added a commit
that referenced
this pull request
Oct 17, 2026
Fixes for Windows AI that stops responding (#14). Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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.
On 17 Oct, after Windows' AI components (
WindowsWorkload.*) updated without a restart, Quick Describe returned no descriptions: the helper said Ready, loading the models worked, but describing and reading text both hung until the PC was restarted. The log showed nothing, and a request could wait minutes before saying anything.Changes
--prepare). Reads use the built-in OCR meanwhile. A description isn't asked for while its model isn't ready; the result says "Windows is still getting its image description model ready. The first time, this can take a few minutes; try again then." To know the recognizer's state, the readiness check now uses the helper's--details(it was--check).An independent review found a flaky test, two holes in the fast-fail around the warm-up, and the download risk; all are fixed in the second commit.
Tests
dotnet test --solution QuickDescribe.sln: 320 passed, 2 skipped (the screen trials).HelperConnectionTestsalone passed 15 runs out of 15, and each timing test passed 10 of 10 run on its own. New tests: a request behind a timed-out one, or behind a hung warm-up, gives up at once without starting a helper; a warm-up that waits its turn past its limit isn't a timeout; a request behind one given up still goes ahead; a model still getting ready isn't asked to describe and the text still comes; when the recognizer counts as needing getting ready; the Phi Silica lines.Checked on Kelly's PC: the installed helper's
--readon a blank picture, as used to get the recognizer ready, exits at once with no text. Getting a model ready couldn't be tried here, as both are already ready.Screen reader check
Only text changes; nothing about focus or announcements. With JAWS, NVDA and Narrator:
🤖 Generated with Claude Code