Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] 阿里百炼云(qwen)的deepseek v3不支持函数调用,需要取消 #6685

Open
chung1912 opened this issue Mar 4, 2025 · 3 comments
Labels
🐛 Bug Something isn't working | 缺陷

Comments

@chung1912
Copy link
Contributor

📦 部署环境

Docker

📦 部署模式

服务端模式(lobe-chat-database 镜像)

📌 软件版本

v1.68.0

💻 系统环境

Windows, Ubuntu

🌐 浏览器

Chrome

🐛 问题描述

阿里百炼云(qwen)的deepseek v3不支持函数调用,需要取消
Image

📷 复现步骤

No response

🚦 期望结果

后端配置qwen后,正常展示deepseek v3不具有函数调用能力的标签

📝 补充信息

No response

@chung1912 chung1912 added the 🐛 Bug Something isn't working | 缺陷 label Mar 4, 2025
@github-project-automation github-project-automation bot moved this to Roadmap - Chat 1.x in Lobe Chat Routine Mar 4, 2025
@lobehubbot
Copy link
Member

👀 @chung1912

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


📦 Deployment environment

Docker

📦 Deployment mode

Server-side mode (lobe-chat-database mirror)

📌 Software version

v1.68.0

💻 System environment

Windows, Ubuntu

🌐 Browser

Chrome

🐛 Question description

Alibaba Bailian Cloud's deepseek v3 does not support function calls and needs to be cancelled
Image

📷 Reproduction steps

No response

🚦 Expected results

After qwen is configured in the backend, the deepseek v3 tag does not have function calling capabilities are displayed normally.

📝 Supplementary information

No response

Copy link

dosubot bot commented Mar 4, 2025

To address the issue where the DeepSeek V3 model in 阿里百炼云(qwen) does not support function calls, you need to modify the backend configuration. Specifically, you should set the functionCall ability to false in the model's configuration file. This can be done in the src/config/aiModels/siliconcloud.ts file. Here is the relevant configuration snippet:

{
  abilities: {
    // FC not supported yet, ref: https://www.volcengine.com/docs/82379/1262342#8c325d45
    functionCall: false,
  },
  contextWindowTokens: 65_536,
  description:
    'DeepSeek-V3 是一款拥有 6710 亿参数的混合专家(MoE)语言模型,采用多头潜在注意力(MLA)和 DeepSeekMoE 架构,结合无辅助损失的负载平衡策略,优化推理和训练效率。通过在 14.8 万亿高质量tokens上预训练,并进行监督微调和强化学习,DeepSeek-V3 在性能上超越其他开源模型,接近领先闭源模型。',
  displayName: 'DeepSeek V3',
  enabled: true,
  id: 'deepseek-ai/DeepSeek-V3',
  pricing: {
    currency: 'CNY',
    input: 2,
    output: 8,
  },
  type: 'chat',
}

This configuration ensures that the DeepSeek V3 model is correctly labeled as not supporting function calls [1].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working | 缺陷
Projects
Status: Roadmap - Chat 1.x
Development

No branches or pull requests

2 participants