Skip to content
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

Autowire WebClient.Builder into OllamaApi #1296

Closed
wants to merge 1 commit into from

Conversation

habuma
Copy link
Member

@habuma habuma commented Aug 30, 2024

OllamaApi creates its own WebClient.Builder rather than take one via its constructor. (This is in contrast to its RestClient.Builder which it accepts via a constructor. )

As such, this prevents customization of the WebClient.Builder outside of OllamaApi.

This PR changes OllamaApi to accept a WebClient.Builder via the constructor the same way that it already accepts a RestClient.Builder via the constructor.

@markpollack markpollack added this to the 1.0.0-RC1 milestone Sep 4, 2024
@markpollack
Copy link
Member

tx, merged in 3cab5bd

@markpollack markpollack closed this Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants