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

An error is reported when calling deepseek r1 #785

Open
WoamHuman opened this issue Mar 11, 2025 · 0 comments
Open

An error is reported when calling deepseek r1 #785

WoamHuman opened this issue Mar 11, 2025 · 0 comments

Comments

@WoamHuman
Copy link

An error occurred while using the deepseek r1 model:{"error":{"message":"The first message (except the system message) of deepseek-reasoner must be a user message, but an assistant message detected.","type":"invalid_request_error","param":null,"code":"invalid_request_error"}}.

Screenshot_20250311_110946.jpg

In SillyTavern, i can choose api link configuration-prompt post-processing (api链接配置-提示词后处理) or switch to the staging branch (切换到staging分支) to solve the problem, but on risuai, I don't know how to deal with this kind of problem.

Thank you for your help.

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

No branches or pull requests

1 participant