Skip to content

fix: apply ASR config values - #11

Open
GabC2003 wants to merge 1 commit into
Trae-AI:mainfrom
GabC2003:fix/voice-input
Open

fix: apply ASR config values#11
GabC2003 wants to merge 1 commit into
Trae-AI:mainfrom
GabC2003:fix/voice-input

Conversation

@GabC2003

@GabC2003 GabC2003 commented Feb 2, 2026

Copy link
Copy Markdown

Background

Browser voice input always failed. Root cause: ASR config values were not assigned to global variables due to parameter shadowing, leaving appID/token/cluster empty.

Changes

  • Fix parameter shadowing in InitModelCfg to correctly persist ASR config.

Impact

  • ASR/voice input works as expected.
  • No impact to other features.

Verification

  1. Set LLM.AsrModel (AppID/Token/Cluster).
  2. Start services and try voice input in the browser.
  3. ASR returns recognized text.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant