Repository navigation
perf(assessment): show pronunciation immediately, grammar follows - #9
Merged
Merged
Conversation
Assessment waited for both SOE (~3s) and the grammar LLM (~15s) before publishing
one message, so the UI hit its timeout ('Assessment is taking too long') and showed
nothing. Now pronunciation is published the moment it lands and grammar is sent in a
second 'assessment' message that updates the same turn in place (client keeps the
pending entry so the late grammar still merges). Bumped the client timeout to 45s.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ❌ Deployment failed View logs |
uiniq | 5a1696a | Jun 07 2026, 10:45 AM |
Co-Authored-By: Claude Opus 4.8 (1M context) <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.
Why
Assessment waited for both SOE pronunciation (~3s) and the grammar LLM (~15s) before publishing one message. With the recording upload on top, total often exceeded the client's 30s timeout → "Assessment is taking too long" → nothing shown, even for clean English.
Change
assessmentmessage for the sameturn_id.Result: the learner sees pron score + phonemes in ~3–5s; grammar fills in after.
🤖 Generated with Claude Code