Description
The Viewer UI hardcodes an incorrect default endpoint for Alibaba Bailian provider in the embedding/summarizer/skill settings.
Current (wrong):
https://dashscope.aliyuncs.com/compatible-mode/v1
Correct (should be):
https://coding.dashscope.aliyuncs.com/v1
This affects users who select "Alibaba Bailian (百炼)" in the settings and rely on the default endpoint auto-fill.
Location
src/viewer/html.ts line 7240:
```javascript
bailian:{endpoint:"'https://dashscope.aliyuncs.com/compatible-mode/v1',embModel:"'text-embedding-v3',chatModel:"'qwen-max'},
```
Proposed Fix
Change the endpoint to https://coding.dashscope.aliyuncs.com/v1 which is the correct OpenAI-compatible endpoint for DashScope coding models.
Type of change
Description
The Viewer UI hardcodes an incorrect default endpoint for Alibaba Bailian provider in the embedding/summarizer/skill settings.
Current (wrong):
https://dashscope.aliyuncs.com/compatible-mode/v1Correct (should be):
https://coding.dashscope.aliyuncs.com/v1This affects users who select "Alibaba Bailian (百炼)" in the settings and rely on the default endpoint auto-fill.
Location
src/viewer/html.tsline 7240:```javascript
bailian:{endpoint:"'https://dashscope.aliyuncs.com/compatible-mode/v1',embModel:"'text-embedding-v3',chatModel:"'qwen-max'},
```
Proposed Fix
Change the endpoint to
https://coding.dashscope.aliyuncs.com/v1which is the correct OpenAI-compatible endpoint for DashScope coding models.Type of change