Open vovanb opened 3 months ago
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @jpalvarezl @trrwilson.
note same code with 1.0.0-beta.8 is working fine
I'm experience the same issue on 1.0.0-beta.17. Works for window desktop but not android.
** i'm using Maui Blazor .net Core 8 with a Razor Class Library
Having the same issue. Same exact code, calling the same deployed model: Blazor in MAUI on Android throws the above exception, Blazor in asp.net works fine. Last know good version is 1.0.0-beta.15.
await foreach (StreamingChatCompletionsUpdate chatUpdate in client.GetChatCompletionsStreaming(chatCompletionsOptions)) {
if (chatUpdate.Role.HasValue) {
conversation += "Assistant: ";
}
if (!string.IsNullOrEmpty(chatUpdate.ContentUpdate)) {
answer += chatUpdate.ContentUpdate;
conversation += chatUpdate.ContentUpdate;
}
StateHasChanged();
}
Version 2.0.0-beta.1 also does not work (Android); when attempting to call CompleteChat(messages), it returns "Operation is not supported on this platform." (it works on Windows.)
Facing the same issue here, working in Windows, broken in Android. And I cannot go back to 1.0.0-beta.15 because it does not support me sending binary data to the sdk.
Library name and version
Azure.AI.OpenAI 1.0.0-beta.17
Describe the bug
same code working fine in .net core console v8 and failed in MAUI application on Android
Expected behavior
should work same
Actual behavior
received exception
Reproduction Steps
Same code in console application working fine and in MAUI Android is failing with exeption:
Environment
On Windows in Console app it is working, in MAUI Android is failing