mirror of
https://github.com/CodePhiliaX/Chat2DB.git
synced 2025-09-21 12:03:20 +08:00
feat: add remaining
This commit is contained in:
@ -44,6 +44,9 @@ public class AzureOpenAiStreamClient {
|
||||
*/
|
||||
public AzureOpenAiStreamClient(String apiKey, String endpoint, String deployId) {
|
||||
this.deployId = deployId;
|
||||
if (StringUtils.isBlank(apiKey)) {
|
||||
return;
|
||||
}
|
||||
this.client = new OpenAIClientBuilder()
|
||||
.credential(new AzureKeyCredential(apiKey))
|
||||
.endpoint(endpoint)
|
||||
|
Reference in New Issue
Block a user