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

[Feature]: 使用deepseek r1时,支持把system message当作role="user"的message传输 #2090

Open
4 tasks done
acsaga opened this issue Feb 20, 2025 · 0 comments
Open
4 tasks done
Labels
enhancement New feature or request

Comments

@acsaga
Copy link

acsaga commented Feb 20, 2025

Issue Checklist

  • I understand that issues are for reporting problems and requesting features, not for off-topic comments, and I will provide as much detail as possible to help resolve the issue.
  • I have checked the pinned issues and searched through the existing open issues, closed issues, and discussions and did not find a similar suggestion.
  • I have provided a short and descriptive title so that developers can quickly understand the issue when browsing the issue list, rather than vague titles like "A suggestion" or "Stuck."
  • The latest version of Cherry Studio does not include the feature I am suggesting.

Platform

Windows

Version

v0.9.27

Is your feature request related to an existing issue?

根据 https://huggingface.co/deepseek-ai/DeepSeek-R1#usage-recommendations ,第二条标粗了”Avoid adding a system prompt; all instructions should be contained within the user prompt.“
所以,对于deepseek r1,在调用api时把第一条默认的role="system"改成role="user"可能会得到更好的结果?

Desired Solution

我不太确定第三方的deepseek r1 api是否强制必须有role="system"的消息。
可能可以在”提示词设置“页面,加一个选项,让用户可以选择助手的提示词是以role="system"或者role="user"发送比较好?

Alternative Solutions

No response

Additional Information

No response

@acsaga acsaga added the enhancement New feature or request label Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant