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

Ollama thinking mode

Open benxiaohai061 opened this issue 1 year ago • 3 comments

For example, in the Ollama API, when sending a request through the API interface, adding the parameter "think": true in the POST data can activate the thinking mode, which facilitates program automation and result analysis.

benxiaohai061 avatar Jun 15 '25 13:06 benxiaohai061

This support is already being followed up by PR:https://github.com/spring-projects/spring-ai/pull/3386

sunyuhan1998 avatar Jun 16 '25 01:06 sunyuhan1998

This support is already being followed up by PR:#3386PR 已经跟进了这种支持: #3386

会考虑类似 deepseek reasoning_content 么?

Would you consider something like deepseek reasoning_content ?

YunaiV avatar Aug 23 '25 09:08 YunaiV

Would you consider something like deepseek reasoning_content ?

If this PR can be merged, I think we could add a dedicated Message for Ollama, through which the reasoning content can be accessed, just as we did for DeepSeek.

sunyuhan1998 avatar Aug 25 '25 05:08 sunyuhan1998