Skip to content
This repository was archived by the owner on Feb 11, 2025. It is now read-only.
This repository was archived by the owner on Feb 11, 2025. It is now read-only.

[FEATURE] Support customize dispatcher of okHttpClient in DefaultOpenAiClient #37

@jsonwan

Description

@jsonwan

Is your feature request related to a problem? Please describe.
I want to use this openai client in a production environment, so the ThreadPoolExecutor which okHttpClient use should be customized for monitoring and tracing reason. The way to modify ThreadPoolExecutor of okHttpClient is to customize its dispatcher.

Describe the solution you'd like
Add a dispatcher field in OpenAiClient.Builder to allow user to customize it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions