Skip to content

fix(wizard): read ASR test URLs from config instead of hardcoding#59

Merged
missuo merged 1 commit into
missuo:mainfrom
erning:fix/wizard-test-read-config
Apr 6, 2026
Merged

fix(wizard): read ASR test URLs from config instead of hardcoding#59
missuo merged 1 commit into
missuo:mainfrom
erning:fix/wizard-test-read-config

Conversation

@erning

@erning erning commented Apr 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Read asr.doubao.url, asr.qwen.url, and asr.qwen.model from user configuration instead of hardcoding WebSocket URLs in the setup wizard test buttons
  • Fall back to default values when config entries are empty

Fixes #58

Test plan

  • Set custom asr.qwen.url and asr.qwen.model in ~/.koe/config.yaml, verify the Test button connects to the custom endpoint
  • Set custom asr.doubao.url in ~/.koe/config.yaml, verify the Test button connects to the custom endpoint
  • Leave config entries empty, verify the Test button still uses default URLs
  • Run make build to ensure the app builds

…ssuo#58)

The test buttons for Doubao and Qwen used hardcoded WebSocket URLs,
causing failures when users customized endpoints via config.yaml.
Now reads asr.doubao.url, asr.qwen.url, and asr.qwen.model from
configuration with fallback to defaults.
@missuo missuo merged commit 3410b01 into missuo:main Apr 6, 2026
@erning erning deleted the fix/wizard-test-read-config branch April 7, 2026 02:00
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.

SetupWizard 面板,Test wss 链接是写死的,不是读取配置文件里面,导致自定义测试失败

2 participants