You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seeing the exception below with this call: chatCompletionService.GetStreamingChatMessageContentsAsync(_skChatHistory, executionSettings, kernel)
I see this issue with latest nuget package version 1.24.1
The issue is not repro with package version 1.20.0
Exception:
System.TypeLoadException
HResult=0x80131522
Message=Method 'GetAsyncEnumerator' in type 'OpenAI.Chat.InternalAsyncStreamingChatCompletionUpdateCollection' from assembly 'OpenAI, Version=2.1.0.0, Culture=neutral, PublicKeyToken=b4187f3e65366280' does not have an implementation.
Source=OpenAI
StackTrace:
at OpenAI.Chat.ChatClient.CompleteChatStreamingAsync(IEnumerable1 messages, ChatCompletionOptions options, CancellationToken cancellationToken) at Azure.AI.OpenAI.Chat.AzureChatClient.CompleteChatStreamingAsync(IEnumerable1 messages, ChatCompletionOptions options, CancellationToken cancellationToken)
at Microsoft.SemanticKernel.Connectors.OpenAI.ClientCore.<>c__DisplayClass16_1.b__0()
at Microsoft.SemanticKernel.Connectors.OpenAI.ClientCore.RunRequest[T](Func`1 request)
at Microsoft.SemanticKernel.Connectors.OpenAI.ClientCore.d__16.MoveNext()
at Microsoft.SemanticKernel.Connectors.OpenAI.ClientCore.d__16.System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult(Int16 token)
The text was updated successfully, but these errors were encountered:
deepinderdeol
changed the title
Bug: Exception thrown with chatCompletionService.GetStreamingChatMessageContentsAsync
.Net: Bug: Exception thrown with chatCompletionService.GetStreamingChatMessageContentsAsync
Oct 18, 2024
Seeing the exception below with this call:
chatCompletionService.GetStreamingChatMessageContentsAsync(_skChatHistory, executionSettings, kernel)
Exception:
System.TypeLoadException
HResult=0x80131522
Message=Method 'GetAsyncEnumerator' in type 'OpenAI.Chat.InternalAsyncStreamingChatCompletionUpdateCollection' from assembly 'OpenAI, Version=2.1.0.0, Culture=neutral, PublicKeyToken=b4187f3e65366280' does not have an implementation.
Source=OpenAI
StackTrace:
at OpenAI.Chat.ChatClient.CompleteChatStreamingAsync(IEnumerable
1 messages, ChatCompletionOptions options, CancellationToken cancellationToken) at Azure.AI.OpenAI.Chat.AzureChatClient.CompleteChatStreamingAsync(IEnumerable
1 messages, ChatCompletionOptions options, CancellationToken cancellationToken)at Microsoft.SemanticKernel.Connectors.OpenAI.ClientCore.<>c__DisplayClass16_1.b__0()
at Microsoft.SemanticKernel.Connectors.OpenAI.ClientCore.RunRequest[T](Func`1 request)
at Microsoft.SemanticKernel.Connectors.OpenAI.ClientCore.d__16.MoveNext()
at Microsoft.SemanticKernel.Connectors.OpenAI.ClientCore.d__16.System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult(Int16 token)
The text was updated successfully, but these errors were encountered: