[Incident][108dev] Avatar speech token broker unavailable (missing speech/AI runtime config)
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 38/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- azure, python
- Domain
- ci-cd, cloud, infrastructure
Research direction
Start with the tutor-avatar-108dev runtime configuration and deployment checks, then verify the named /api/avatar/health, /ready, /speech/session-token, and /response entry points. Done means the four required variables are populated, speech and response flows succeed, and deployment guardrails plus post-deploy smoke checks cover missing configuration.
Written by the indexing model from the issue text.
Description
Summary
Avatar speech and response flows are degraded in 108dev due to missing runtime configuration.
Evidence
GET /api/avatar/speech/session-tokenreturns503- Response detail:
Speech token broker unavailable: Speech broker is not configured. Set SPEECH_RESOURCE_ID and SPEECH_REGION.
- Runtime env on
tutor-avatar-108devshows empty:SPEECH_RESOURCE_IDSPEECH_REGIONPROJECT_ENDPOINTMODEL_DEPLOYMENT_NAME
GET /api/avatar/healthand/readyreturn200(service up but partially broken)- Container Apps specialist found candidate AI/Speech resource in RG:
/subscriptions/150e82e8-25db-4f1a-8e04-a2f6a77d26c4/resourceGroups/tutor-108dev/providers/Microsoft.CognitiveServices/accounts/tutor108dev4p86ctai- region
westus3
Impact
- Speech token brokering fails for Avatar UI.
- Avatar conversational path is at risk due empty AI endpoint/deployment config.
Proposed remediation
- Set
SPEECH_RESOURCE_ID+SPEECH_REGIONon avatar app. - Set
PROJECT_ENDPOINT+MODEL_DEPLOYMENT_NAMEon avatar app. - Add deploy guardrail checks for these required vars.
- Add post-deploy avatar smoke checks (
/speech/session-token,/response).
- Dominant language
- Python
- Stars
- 17
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Azure-Samples/tutor
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Azure-Samples/tutor#230 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
Azure-Samples/tutor#229 · 1 comment ·
-
frontend priority:P2 type:tech-debt
Difficulty 5/5 Over a week Newbie friendliness 35/100
Azure-Samples/tutor#224 · 3 comments ·
-
component:ci-cd frontend priority:P1 type:tech-debt
Difficulty 5/5 Over a week Newbie friendliness 35/100
Azure-Samples/tutor#223 · 2 comments ·
-
frontend priority:P1 type:feature
Difficulty 5/5 Over a week Newbie friendliness 30/100
Azure-Samples/tutor#222 · 1 comment ·
All issues in Azure-Samples/tutor
Similar issues
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
simonw/sqlite-utils#872 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100