spring-ai icon indicating copy to clipboard operation
spring-ai copied to clipboard

DeepSeek V4 model name breaking changes

Open yaner-here opened this issue 6 months ago • 3 comments

According to the DeepSeek documentation, the legacy model names deepseek-chat and deepseek-reasoner will be deprecated in favor of deepseek-v4-flash and deepseek-v4-pro. Both new models support toggling the thinking mode via the thinking field.

  • The model names deepseek-chat and deepseek-reasoner will be deprecated on 2026/07/24. For compatibility, they correspond to the non-thinking mode and thinking mode of deepseek-v4-flash, respectively.

My concern is that these changes to the model constants (ChatModel.DEEPSEEK_CHAT, etc.) might break backward compatibility in Spring AI. I recommend to keep these old model constants as deprecated, while new model constants are provided.

yaner-here avatar May 07 '26 14:05 yaner-here

Can I contribute to this ?

shenjianeng avatar May 08 '26 02:05 shenjianeng

@shenjianeng Thank you ❤️ Feel free to submit PRs.

yaner-here avatar May 08 '26 04:05 yaner-here

I am currently developing a new project using DeepSeek API, and I have submitted PR to improve it.

Dream95 avatar May 28 '26 07:05 Dream95