-
Notifications
You must be signed in to change notification settings - Fork 5k
Description
Library name and version
Azure.AI.OpenAI 2.2.0-beta.4
Describe the bug
Among others the following Types are non existent:
ChatRequestMessage
ChatRole
ChatCompletionsOptions
GetChatCompletionsAsync
Expected behavior
The missing Types must exist.
Actual behavior
Fails compilation due to errors of kind:
"The type or namespace name xxx could not be found."
Reproduction Steps
Having exhausted testing my own upgraded code (working under .NET MAUI 8.0) I decided to run an isolated test program which was actually suggested by Copilot.
Inspection of the DLL file by ILDasm.exe indeed confirms that the Types in question do not exist.
I reset the NuGet packages to make sure there are no conflicting ones.
I am of strong opinion that public API types like ChatRequestMessage, ChatRole, ChatCompletionsOptions, GetChatCompletionsAsync are missing from compiled DLLs for Azure.AI.OpenAI 2.2.0-beta.4.
The issue also exists with the stable version for the reported prerelease: Azure.AI.OpenAI 2.1.0.
Environment
.NET SDK Version: 10.0.100-preview.5.25277.114
OS Version: 10.0.27881