Skip to content

Provider-neutral HTTP proxy support and JDK HttpClient transport for native SDKs #7217

@maff

Description

@maff

What should we do?

Lift ChatModelHttpProxySupport out of framework/langchain4j/ to a provider-neutral package and expose a plain java.net.http.HttpClient (in addition to the existing AWS Apache and Azure shapes) for native vendor SDKs to consume. Each native chat model API factory should build its SDK client through this shared utility so that proxy configuration set via the connector runtime applies on day one — the same way today's LangChain4j implementations do.

Why should we do it?

We rely on JDK proxy support today and need to preserve it in the native impls without re-implementing the configuration plumbing per SDK.

Existing util at connectors/agentic-ai/src/main/java/io/camunda/connector/agenticai/aiagent/framework/langchain4j/ChatModelHttpProxySupport.java.

Metadata

Metadata

Assignees

No one assigned

    Labels

    agentic-aikind:taskCategorizes an issue or PR as general maintenance, i.e. cleanup, refactoring, etc.

    Type

    Urgency

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions