Skip to content

Commit 0229093

Browse files
committed
Remove redundant character in azure endpoint
1 parent edb83c7 commit 0229093

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

OpenAI_API/OpenAIAPI.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public static OpenAIAPI ForAzure(string YourResourceName, string deploymentId, A
5252
{
5353
OpenAIAPI api = new OpenAIAPI(apiKey);
5454
api.ApiVersion = "2022-12-01";
55-
api.ApiUrlFormat = $"https://{YourResourceName}.openai.azure.com/openai/deployments/{deploymentId})/" + "{1}?api-version={0}";
55+
api.ApiUrlFormat = $"https://{YourResourceName}.openai.azure.com/openai/deployments/{deploymentId}/" + "{1}?api-version={0}";
5656
return api;
5757
}
5858

0 commit comments

Comments
 (0)