-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Update Ollama API to latest version #3969
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
Conversation
ThomasVitale
commented
Aug 1, 2025
- Add missing fields to Ollama API classes
- Deprecate Ollama options that are no longer supported
- Update integration tests using Ollama 0.10.1 (latest version) and more performant models.
* Add missing fields to Ollama API classes * Deprecate Ollama options that are no longer supported * Update integration tests using Ollama 0.10.1 (latest version) and more performant models. Signed-off-by: Thomas Vitale <[email protected]>
Thank you for your work, it looks great! Additionally, I noticed that you've added support for "think" in |
hello.I want to ask if this change was applied in the latest 1.0.1 version, as it seems I didn't see this change. |
@sunyuhan1998 thanks for your comment. This PR only updates the Ollama API (including the new @dnwwdwd this PR has not been merged yet, so it's not included in the latest 1.0.1 version. |
@ThomasVitale Do you think we should back-port this PR into |
@sobychacko That would be nice to have already in 1.0.x, if it's possible. It would give us the possibility to remove the deprecated Ollama options in 1.1.x. This PR is backward compatible as it only adds new fields in OllamaApi and deprecates options and fields that Ollama doesn't support anymore. Builders and custom constructors help ensuring the backward compatibility even if some records got new fields. |
* Add missing fields to Ollama API classes * Deprecate Ollama options that are no longer supported * Update integration tests using Ollama 0.10.1 (latest version) and more performant models. Fixes #3969 Signed-off-by: Thomas Vitale <[email protected]> (cherry picked from commit 3ee33c1)
@ThomasVitale Merged upstream and backported to |
@sobychacko thank you! |
* Add missing fields to Ollama API classes * Deprecate Ollama options that are no longer supported * Update integration tests using Ollama 0.10.1 (latest version) and more performant models. Fixes spring-projects#3969 Auto-cherry-pick to 1.0.x Signed-off-by: Thomas Vitale <[email protected]>
* Add missing fields to Ollama API classes * Deprecate Ollama options that are no longer supported * Update integration tests using Ollama 0.10.1 (latest version) and more performant models. Fixes spring-projects#3969 Auto-cherry-pick to 1.0.x Signed-off-by: Thomas Vitale <[email protected]>
* Add missing fields to Ollama API classes * Deprecate Ollama options that are no longer supported * Update integration tests using Ollama 0.10.1 (latest version) and more performant models. Fixes spring-projects#3969 Auto-cherry-pick to 1.0.x Signed-off-by: Thomas Vitale <[email protected]>