Alfonso Ristorato
04/10/2026, 6:10 PMVadim Briliantov
04/11/2026, 12:30 PMval myOpenAI = OpenAILLMClient(
apiKey = "MY_KEY",
settings = OpenAIClientSettings(
baseUrl = "https://my.custom.proxy.com",
chatCompletionsPath = "v2/my/chat/completions/custom/endpoint",
responsesAPIPath = "v2/my/chat/responses/custom-endpoint",
moderationsPath = "v3/very-very-custom-moderations",
modelsPath = "v4/something/truly/custom",
)
)Vadim Briliantov
04/11/2026, 12:36 PMval myAnthropic = AnthropicLLMClient(
apiKey = "MY_ANTRHOPIC_KEY",
baseClient = HttpClient {
defaultRequest {
url("https://my/proxy/url")
}
install(Auth) {
basic {
credentials {
BasicAuthCredentials(username = "jetbrains", password = "foobar")
}
realm = "Access to the '/' path"
}
}
}
)Alfonso Ristorato
04/11/2026, 12:45 PMOpenAIClientSettings in the docs and while going around in the various apis 🙂 this will work brilliantly