Add Ollama ThinkOption runtime hints#6047
Conversation
|
This is ready for review from my side. I kept the change focused on the missing runtime hints for the |
|
Thanks, did you double check building a small native app to be sure? You not, could you? |
6a30e6b to
78ee22b
Compare
Signed-off-by: Dongliang Xie <dragonfsky@gmail.com>
78ee22b to
d47cb71
Compare
|
Thanks for the reminder. I verified this with a small Spring Boot native application using the local PR branch artifacts. Commands run:
The native executable starts successfully and exercises both relevant paths:
I also pushed a small follow-up adjustment after the local check. Targeted tests were re-run:
Result: 32 tests passed. Please let me know if you prefer any further changes. |
See spring-projects#6047 Closes spring-projects#6043 Signed-off-by: Dongliang Xie <dragonfsky@gmail.com>
Summary
ThinkOptionfor reflection hints.ThinkOptionJackson handler classes.Fixes #6043.
Testing
./mvnw -s <temp-empty-settings> -Dmaven.build.cache.enabled=false -pl models/spring-ai-ollama -am -Dtest=OllamaRuntimeHintsTests -Dsurefire.failIfNoSpecifiedTests=false testgit diff --check