Open
Description
If users want to customize the HTTP interactions for models that support stream, they frequently have to provide a customized RestClient and WebClient which are customized using their own respective api. The user must have the skill to configure both the RestClient and the WebClient.
What if spring-ai offered the ability to configure a WebClient based on a RestClient configuration, this way the user only has to configure RestClient and spring-ai reads the configuration of the RestClient and configures the WebClient to match the settings in RestClient where the settings are common. This approach might reduce the effort required for users to perform simple common customizations.
Related issues: