Skip to content

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

Open
Memtensor-AI wants to merge 7 commits into
dev-20260604-v2.0.19from
autodev/MemOS-1489
Open

Fix #1489: fix(openclaw): incorrect Alibaba Bailian endpoint default in Viewer UI#1865
Memtensor-AI wants to merge 7 commits into
dev-20260604-v2.0.19from
autodev/MemOS-1489

Conversation

@Memtensor-AI
Copy link
Copy Markdown
Collaborator

Description

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

问题描述:在 packages/memos-core/src/viewer/html.tsapps/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 确认两个文件的修改正确。

Related Issue (Required): Fixes #1489

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactor (does not change functionality, e.g. code style improvements, linting)
  • Documentation update

How Has This Been Tested?

Executor did not report tests.

  • Unit Test
  • Test Script Or Test Steps (please provide)
  • Pipeline Automated API Test (please provide)

Checklist

  • I have performed a self-review of my own code | 我已自行检查了自己的代码
  • I have commented my code in hard-to-understand areas | 我已在难以理解的地方对代码进行了注释
  • I have added tests that prove my fix is effective or that my feature works | 我已添加测试以证明我的修复有效或功能正常
  • I have created related documentation issue/PR in MemOS-Docs (if applicable) | 我已在 MemOS-Docs 中创建了相关的文档 issue/PR(如果适用)
  • I have linked the issue to this PR (if applicable) | 我已将 issue 链接到此 PR(如果适用)
  • I have mentioned the person who will review this PR | 我已提及将审查此 PR 的人

@MatthewZhuang, @CarltonXiang, @syzsunshine219 please review this PR.

Reviewer Checklist

📋 opsp 产物

本任务的设计文档、澄清记录、集成报告归档在 specs 仓库:
https://github.com/MemTensor/memos-autodev-specs/tree/main/2026-06-02-1489-fixopenclaw-incorrect-alibaba-bailian-endpoint-default-in-vi/

(异步推送,短时间内访问可能 404,稍候再试。)

hijzy and others added 7 commits May 25, 2026 15:02
## Summary
- add an OpenClaw runtime lock to block duplicate plugin instances
before tools/hooks register
- fail startup on viewer port conflicts and clean up partial runtime
state
- keep lightweight local memories searchable/listable without an LLM
final filter, while preserving full-mode self-evolution boundaries
- cover runtime locking, duplicate startup, lightweight retrieval,
delayed agent_end recovery, and partial migration behavior

## Tests
- npm test -- --run tests/unit
- npm run lint
- npm run build
- git diff --check --cached
#1807)

Automated PR from mem-agent-0520-niu to mem-agent-0520.
## Description

Please include a summary of the change, the problem it solves, the
implementation approach, and relevant context. List any dependencies
required for this change.

Related Issue (Required):  Fixes #issue_number

## Type of change

Please delete options that are not relevant.

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] Refactor (does not change functionality, e.g. code style
improvements, linting)
- [ ] Documentation update

## How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration

- [ ] Unit Test
- [ ] Test Script Or Test Steps (please provide)
- [ ] Pipeline Automated API Test (please provide)

## Checklist

- [ ] I have performed a self-review of my own code | 我已自行检查了自己的代码
- [ ] I have commented my code in hard-to-understand areas |
我已在难以理解的地方对代码进行了注释
- [ ] I have added tests that prove my fix is effective or that my
feature works | 我已添加测试以证明我的修复有效或功能正常
- [ ] I have created related documentation issue/PR in
[MemOS-Docs](https://github.com/MemTensor/MemOS-Docs) (if applicable) |
我已在 [MemOS-Docs](https://github.com/MemTensor/MemOS-Docs) 中创建了相关的文档
issue/PR(如果适用)
- [ ] I have linked the issue to this PR (if applicable) | 我已将 issue
链接到此 PR(如果适用)
- [ ] I have mentioned the person who will review this PR | 我已提及将审查此 PR
的人

## Reviewer Checklist
- [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
- [ ] Made sure Checks passed
- [ ] Tests have been provided
Change incorrect endpoint from https://dashscope.aliyuncs.com/compatible-mode/v1
to correct endpoint https://coding.dashscope.aliyuncs.com/v1 in both
packages/memos-core and apps/memos-local-openclaw viewer files.

Fixes #1489
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.

6 participants