You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The *Api client classes should offer a way to customize the WebClient used. For example to add an Authorization header for custom Ollama setups, or to add some logging.
Current Behavior
Most *Api clients offer a constructor with a RestClient.Builder parameter, but also create a hardcoded WebClient.Builder:
This might be related to #512 and #609.
Expected Behavior
The
*Api
client classes should offer a way to customize theWebClient
used. For example to add anAuthorization
header for custom Ollama setups, or to add some logging.Current Behavior
Most
*Api
clients offer a constructor with aRestClient.Builder
parameter, but also create a hardcodedWebClient.Builder
:This does not allow to customize the
WebClient
used in streaming methods.Context
We want to deploy a Spring AI cluster that calls an Ollama instance, ideally with some sort of authentication.
The text was updated successfully, but these errors were encountered: