lobe-chat icon indicating copy to clipboard operation
lobe-chat copied to clipboard

🐛 fix: Improve Doubao provider && Rename Doubao to Volcano Ark

Open sxjeru opened this issue 3 weeks ago • 11 comments

💻 变更类型 | Change Type

  • [ ] ✨ feat
  • [x] 🐛 fix
  • [ ] ♻️ refactor
  • [ ] 💄 style
  • [ ] 👷 build
  • [ ] ⚡️ perf
  • [ ] 📝 docs
  • [ ] 🔨 chore

🔀 变更说明 | Description of Change

豆包大模型目前存在一些问题,希望这个 pr 能一口气解决。

备注 NEXT_PUBLIC_CLIENT_DB=pglite

  • [x] ~~修复聊天,支持环境变量添加的模型~~
  • [x] 添加模型支持部署名
  • [ ] 连通性检查,目前仅临时解决(见下1
  • [ ] 模型配置页提示语仍为 Azure OpenAI
  • [ ] 利用环境变量添加的 model 无法在 /settings/provider/doubao 模型列表中出现(个人无法解决
  • [ ] #6022
  • [ ] 待发现...

📝 补充信息 | Additional Information

  1. 关于连通性检查问题,getModelCardsById 方法拿到的 chatModelCards 如图所示,理论上应该是分出 deploymentName 才对。目前只在 src/app/(main)/settings/provider/(detail)/doubao/page.tsx 做了临时适配,之后应该修复 chatModelCards 。 (个人应该无法解决)

image


  • fix #5095
  • fix #5744
  • fix #5832
  • fix #5980
  • fix #5981

sxjeru avatar Jan 28 '25 06:01 sxjeru