patchOpenAICompatibleClient
Patches the OpenAI-compatible client by injecting a custom interceptor into its internal HTTP client in-place.
This method modifies the internal structure of the provided OpenAI-like client to replace its HTTP client interceptors with the specified interceptor. Supports OpenAI-compatible (in terms of internal class structure) clients.
Parameters
client
The instance of the OpenAI-compatible client to patch.
interceptor
The interceptor to be injected into the internal HTTP client of the OpenAI-compatible client.