Skip to content

Commit

Permalink
com.openai.unity 8.2.1 (#279)
Browse files Browse the repository at this point in the history
- Fixed a typo in the Azure OpenAI URL base endpoint
  • Loading branch information
StephenHodgson authored Aug 19, 2024
1 parent b087171 commit dffa9c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Runtime/Common/OpenAIBaseEndpoint.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ protected override string GetUrl(string endpoint = "", Dictionary<string, string

if (client.Settings.Info.IsAzureOpenAI && IsAzureDeployment == true)
{
route = $"{Root}deployments/{client.Settings.Info.DeploymentId}/{endpoint}";
route = $"deployments/{client.Settings.Info.DeploymentId}/{Root}{endpoint}";
}
else
{
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "OpenAI",
"description": "A OpenAI package for the Unity Game Engine to use GPT-4, GPT-3.5, GPT-3 and Dall-E though their RESTful API (currently in beta).\n\nIndependently developed, this is not an official library and I am not affiliated with OpenAI.\n\nAn OpenAI API account is required.",
"keywords": [],
"version": "8.2.0",
"version": "8.2.1",
"unity": "2021.3",
"documentationUrl": "https://github.com/RageAgainstThePixel/com.openai.unity#documentation",
"changelogUrl": "https://github.com/RageAgainstThePixel/com.openai.unity/releases",
Expand Down

0 comments on commit dffa9c2

Please sign in to comment.