Closed kael-aiur closed 1 year ago
I have added two parameters: proxyUsername and proxyPassword. You can try them out (I don't have the environment to test them). Here's how to use them:
var llm = OpenAI.builder()
.openaiOrganization("xxx")
.openaiApiKey("xxx")
.openaiProxy("http://host:port")
.proxyUsername("xxx")
.proxyPassword("xxx")
.requestTimeout(16)
.build()
.init();
I use my own proxy server to access the OpenAI interface, but my proxy server requires authentication. However, I do not know how to set the authentication information for the current interface, so I received the following error message: