-
Notifications
You must be signed in to change notification settings - Fork 5k
Open
Labels
ClientThis issue is related to a non-management packageThis issue is related to a non-management packageOpenAIService AttentionWorkflow: This issue is responsible by Azure service team.Workflow: This issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Description
Library name and version
Azure.AI.OpenAI need stable 2.2.0 based on OpenAI stable 2.2.0
Describe the bug
Need a stable 2.2.0 version based off OpenAI stable 2.20 version.
Using Azure.AI.OpenAI 2.2.0-beta.4 with OpenAI version 2.2.0, the following throws an exception
var responseAPIClient = _azureOpenAIClient.GetOpenAIResponseClient("gpt-4o");
System.TypeLoadException : Could not load type 'OpenAI.RealtimeConversation.RealtimeConversationClient' from assembly 'OpenAI, Version=2.2.0.0, Culture=neutral, PublicKeyToken=b4187f3e65366280'.
Stack Trace:
AzureOpenAIClientOptions.GetRawServiceApiValueForClient(Object client)
AzureOpenAIResponseClient.ctor(ClientPipeline pipeline, String deploymentName, Uri endpoint, AzureOpenAIClientOptions options)
AzureOpenAIClient.GetOpenAIResponseClient(String deploymentName)
Expected behavior
No Type Load Exception
Actual behavior
System.TypeLoadException : Could not load type 'OpenAI.RealtimeConversation.RealtimeConversationClient' from assembly 'OpenAI, Version=2.2.0.0, Culture=neutral, PublicKeyToken=b4187f3e65366280'.
Reproduction Steps
<PackageReference Include="OpenAI" Version="2.2.0" />
<PackageReference Include="Azure.AI.OpenAI" Version="2.2.0-beta.4" />
var _azureOpenAIClient = new AzureOpenAIClient(
new Uri("..."),
new ApiKeyCredential(...)
);
var responseAPIClient = _azureOpenAIClient.GetOpenAIResponseClient("gpt-4o");
Environment
No response
Marcel0024, eightrivers, Frulfump, oerodriguezn and sujitdmellofrankbuckley and chronofanz
Metadata
Metadata
Assignees
Labels
ClientThis issue is related to a non-management packageThis issue is related to a non-management packageOpenAIService AttentionWorkflow: This issue is responsible by Azure service team.Workflow: This issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that