-
Notifications
You must be signed in to change notification settings - Fork 995
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
ChatCompletionMessage$Role Serialization Failure When role is "" #2222
Comments
Hi @chansanya , Could you confirm which ChatModel API are you using with this? In general, Spring AI relies on the chat response message |
I am using step-1-8k,the sample api document is https://platform.stepfun.com/docs/api-reference/chat/streaming. |
I got a similar problem. chat model: deepseek-chat reusing the OPEN API client Enable my error logs:
|
Bug description
JONS
Steps to reproduce
role is “”
Error Code: ModelOptionsUtils$mapToClass
**Solution **
Set at program startup
The text was updated successfully, but these errors were encountered: