Skip to content

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

Closed

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)

Activity

  1. added a commit that references this issue on Apr 17, 2026
    9c21b7b
  2. added
    ai:taskDispatched to AI coding agent | 已派发给 AI 编码任务
    on May 26, 2026
  3. deleted a comment from MaiHHConnect on Jun 2, 2026
  4. added
    ai:taskDispatched to AI coding agent | 已派发给 AI 编码任务
    and removed
    ai:taskDispatched to AI coding agent | 已派发给 AI 编码任务
    on Jun 2, 2026
  5. Memtensor-AI commented on Jun 2, 2026

    @Memtensor-AI
    Collaborator

    🤖 AutoDev 已接管此 issue,开始处理。

    任务 ID: 68bbac93743adf86
    工作分支: autodev/MemOS-1489
    目标分支: main
    流程: opsp(系分 → 编码 → 自测 → PR)

    完成后我会在此回贴 PR 链接;若需要补充信息,我会在本 issue 评论中向您反问。

  6. added a commit that references this issue on Jun 2, 2026
    f0367e4
  7. Memtensor-AI commented on Jun 2, 2026

    @Memtensor-AI
    Collaborator

    🚀 AutoDev task 68bbac93743adf86 pushed commit.

    Summary: 修复了 Viewer UI 中阿里百炼(Bailian)provider 的默认 endpoint 配置错误。

    问题描述:在 packages/memos-core/src/viewer/html.ts 和 apps/memos-local-openclaw/src/viewer/html.ts 中,bailian provider 的默认 endpoint 被错误地硬编码为 https://dashscope.aliyuncs.com/compatible-mode/v1(通用模式端点),导致用户在 Viewer UI 的 embedding/summarizer/skill 设置中选择"阿里百炼"时会自动填充错误的 endpoint。

    修复内容:将两个文件第 7240 行的 bailian endpoint 配置从 https://dashscope.aliyuncs.com/compatible-mode/v1 修正为 https://coding.dashscope.aliyuncs.com/v1(DashScope 编码模型的正确 OpenAI 兼容端点)。

    影响范围:此修复仅涉及配置字符串变更,不影响代码逻辑,用户现在可以直接使用正确的默认 endpoint 连接阿里百炼服务,无需手动修改。

    测试验证:变更仅涉及静态配置字符串,无需编译或运行时测试。已通过 git diff 确认两个文件的修改正确。

    Base branch: main
    Branch: autodev/MemOS-1489
    Commit: f0367e4

    I will create the PR next and post the PR link here.

  8. Memtensor-AI commented on Jun 2, 2026

    @Memtensor-AI
    Collaborator

    ✅ AutoDev task 68bbac93743adf86 completed.

    Summary: 修复了 Viewer UI 中阿里百炼(Bailian)provider 的默认 endpoint 配置错误。

    问题描述:在 packages/memos-core/src/viewer/html.ts 和 apps/memos-local-openclaw/src/viewer/html.ts 中,bailian provider 的默认 endpoint 被错误地硬编码为 https://dashscope.aliyuncs.com/compatible-mode/v1(通用模式端点),导致用户在 Viewer UI 的 embedding/summarizer/skill 设置中选择"阿里百炼"时会自动填充错误的 endpoint。

    修复内容:将两个文件第 7240 行的 bailian endpoint 配置从 https://dashscope.aliyuncs.com/compatible-mode/v1 修正为 https://coding.dashscope.aliyuncs.com/v1(DashScope 编码模型的正确 OpenAI 兼容端点)。

    影响范围:此修复仅涉及配置字符串变更,不影响代码逻辑,用户现在可以直接使用正确的默认 endpoint 连接阿里百炼服务,无需手动修改。

    测试验证:变更仅涉及静态配置字符串,无需编译或运行时测试。已通过 git diff 确认两个文件的修改正确。

    Base branch: main
    Branch: autodev/MemOS-1489
    Commit: f0367e4
    PR: #1865
    Assigned to: @MatthewZhuang, @CarltonXiang, @syzsunshine219
    Reviewers: @MatthewZhuang, @CarltonXiang, @syzsunshine219

  9. added a commit that references this issue on Jun 3, 2026
    d69defa
  10. added a commit that references this issue on Sep 18, 2026
    767ea35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ai:taskDispatched to AI coding agent | 已派发给 AI 编码任务area:pluginOpenClaw & Hermestypes:bugSomething isn't working | 功能异常

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions