Expected Behavior can support spring-ai-ollama-spring-boot-starter use qwen2 model function call

Current Behavior

can't support

Context

i plan to use spring-ai-ollama-spring-boot-starter use qwen2 function call

Comment From: ThomasVitale

The Spring AI Ollama integration supports function calling for every model in the Ollama library marked with Tools support. You can find the full list here. Since the qwen2 model in Ollama doesn't support tools (you can see the missing "Tools" tag), Spring AI will not either. I would suggest raising a feature request to the Ollama project to make the qwen2 model have tools support.

Comment From: csterwa

Hello @CodingNowPls , please follow up and let us know if the Ollama team will support tools so Spring AI function calling will work with qwen2. We'd like to know if this enhancement is implemented. Thank you.

Comment From: CodingNowPls

The Spring AI Ollama integration supports function calling for every model in the Ollama library marked with Tools support. You can find the full list here. Since the qwen2 model in Ollama doesn't support tools (you can see the missing "Tools" tag), Spring AI will not either. I would suggest raising a feature request to the Ollama project to make the qwen2 model have tools support.

Thank you, I will continue to follow up on whether ollama supports qwen2 function call

Comment From: CodingNowPls

Hello @CodingNowPls , please follow up and let us know if the Ollama team will support tools so Spring AI function calling will work with qwen2. We'd like to know if this enhancement is implemented. Thank you.

ok, thank you