Skip to content

fix(openclaw): incorrect Alibaba Bailian endpoint default in Viewer UI #1489

@xutao0565

Description

@xutao0565

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

  • Bug fix (non-breaking change which fixes an issue)

Metadata

Metadata

Assignees

No one assigned

    Labels

    ai-taskAutoDev task dispatched to AI coding agent | AI 编码任务bugSomething isn't working | 功能异常pluginPlugin/adapter/bridge layer (apps/ directory) | 插件/适配层

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions