Skip to content

Conversation

@voidkey
Copy link
Contributor

@voidkey voidkey commented Jan 8, 2026

Pull Request

描述 (Description)

  • 新增6个主流的模型厂商:
  1. 魔搭 ModelScope
  2. 月之暗面 Moonshot
  3. 百度千帆 Baidu Cloud
  4. 七牛云 Qiniu
  5. 美团LongCat AI
  6. GPUStack
  • 优化前端模型选择页面的部分描述
  • 修复之前ModelScope社区的Embedding模型无法连通的BUG (应该是对方对选填参数「encoding_format」做了强制校验导致的)

变更类型 (Type of Change)

  • 🐛 Bug 修复 (Bug fix)
  • ✨ 新功能 (New feature)
  • 📚 文档更新 (Documentation update)

影响范围 (Scope)

  • 后端 API (Backend API)
  • 前端界面 (Frontend UI)

测试 (Testing)

  • 单元测试 (Unit tests)
  • 集成测试 (Integration tests)
  • 手动测试 (Manual testing)
  • 前端测试 (Frontend testing)
  • API 测试 (API testing)

测试步骤 (Test Steps)

  1. Docker构建镜像后,进入前端页面-「模型设置」- 「远程API」- 分别选择四种类型的「添加模型」
  2. 选择新增加的几家服务商,根据各家的文档,填入相应的「模型名称」与「API KEY」
  3. 进行「连接测试 」,确认能正常进行接口请求

检查清单 (Checklist)

  • 代码遵循项目的编码规范
  • 已进行自我代码审查
  • 代码变更已添加适当的注释
  • 相关文档已更新
  • 变更不会产生新的警告
  • 已添加测试用例证明修复有效或功能正常
  • 新功能和变更已更新到相关文档
  • 破坏性变更已在描述中明确说明

相关 Issue

Fixes #486

截图/录屏 (Screenshots/Recordings)

Screenshot 2026-01-08 at 20 57 52

ModelScope Embedding 模型连通测试通过
Screenshot 2026-01-08 at 22 37 04

数据库迁移 (Database Migration)

  • 需要数据库迁移
  • 不需要数据库迁移

配置变更 (Configuration Changes)

NULL

部署说明 (Deployment Notes)

NULL

其他信息 (Additional Information)

NULL

@voidkey voidkey closed this Jan 8, 2026
@voidkey voidkey reopened this Jan 8, 2026
@lyingbug lyingbug merged commit 7947305 into Tencent:main Jan 9, 2026
1 check passed
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.

[Bug]: 调用 embeddings 接口时,能加个默认的 "encoding_format": "float" 参数吗?

2 participants