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
Describe the bug
I'm using latest version 1.5.0 of mistral connector for semantic kernel and methods GetStreamingChatMessageContentsAsync, GetChatMessageContentAsync from MistralAIChatCompletionService
I receive this exception(in previous version there was no exception):
Microsoft.SemanticKernel.HttpOperationException: Unprocessable Entity
---> System.Net.Http.HttpRequestException: Exception of type 'System.Net.Http.HttpRequestException' was thrown.
--- End of inner exception stack trace ---
at Microsoft.SemanticKernel.Connectors.Mistral.MistralClientCore.CallMistralAuthedAsync(String url, StringContent content)
at Microsoft.SemanticKernel.Connectors.Mistral.MistralClientCore.CallMistralChatEndpointAsync(ChatHistory chat, MistralPromptExecutionSettings textExecutionSettings)
at Microsoft.SemanticKernel.Connectors.Mistral.MistralClientCore.GetChatMessageContentsAsync(ChatHistory chat, PromptExecutionSettings executionSettings, Kernel kernel, CancellationToken cancellationToken)
at Microsoft.SemanticKernel.ChatCompletion.ChatCompletionServiceExtensions.GetChatMessageContentAsync(IChatCompletionService chatCompletionService, ChatHistory chatHistory, PromptExecutionSettings executionSettings, Kernel kernel, CancellationToken cancellationToken)
Describe the bug
I'm using latest version 1.5.0 of mistral connector for semantic kernel and methods
GetStreamingChatMessageContentsAsync, GetChatMessageContentAsync
fromMistralAIChatCompletionService
I receive this exception(in previous version there was no exception):
Microsoft.SemanticKernel.HttpOperationException: Unprocessable Entity
---> System.Net.Http.HttpRequestException: Exception of type 'System.Net.Http.HttpRequestException' was thrown.
--- End of inner exception stack trace ---
at Microsoft.SemanticKernel.Connectors.Mistral.MistralClientCore.CallMistralAuthedAsync(String url, StringContent content)
at Microsoft.SemanticKernel.Connectors.Mistral.MistralClientCore.CallMistralChatEndpointAsync(ChatHistory chat, MistralPromptExecutionSettings textExecutionSettings)
at Microsoft.SemanticKernel.Connectors.Mistral.MistralClientCore.GetChatMessageContentsAsync(ChatHistory chat, PromptExecutionSettings executionSettings, Kernel kernel, CancellationToken cancellationToken)
at Microsoft.SemanticKernel.ChatCompletion.ChatCompletionServiceExtensions.GetChatMessageContentAsync(IChatCompletionService chatCompletionService, ChatHistory chatHistory, PromptExecutionSettings executionSettings, Kernel kernel, CancellationToken cancellationToken)
What can it be?
To Reproduce
Here is bug reproduction repository: https://github.com/TRybina132/MistralConnectorBug
Expected behavior
No exception is thrown and method returns result.
Platform
The text was updated successfully, but these errors were encountered: