Skip to content

Explore WebClient configuration based on RestClient configuration #1714

Open
@asaikali

Description

@asaikali

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:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions