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
Exception
System.MissingMethodException
HResult=0x80131513
Message=Method not found: 'System.String Microsoft.Extensions.AI.ChatResponseFormatJson.get_Schema()'.
Source=Betalgo.Ranul.OpenAI
StackTrace:
at Betalgo.Ranul.OpenAI.Managers.OpenAIService.CreateRequest(IList`1 chatMessages, ChatOptions options)
at Betalgo.Ranul.OpenAI.Managers.OpenAIService.d__32.MoveNext()
at Betalgo.Ranul.OpenAI.Managers.OpenAIService.d__32.System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult(Int16 token)
at Meryel.Comment2GPT.GptCore.ExtensionsAiAdapter.d__10.MoveNext() in D:\Develop\Comment2GPT\src\GptCore\ExtensionsAiAdapter.cs:line 172
The text was updated successfully, but these errors were encountered:
Describe the bug
Getting exception below when trying to use OpenAIService as Microsoft.Extensions.AI.IChatClient
Using the .netstandard2.0 version
Your code piece
Result
Exception thrown at iterator.MoveNextAsync()
Expected behavior
No exceptions
Desktop (please complete the following information):
Exception
System.MissingMethodException
HResult=0x80131513
Message=Method not found: 'System.String Microsoft.Extensions.AI.ChatResponseFormatJson.get_Schema()'.
Source=Betalgo.Ranul.OpenAI
StackTrace:
at Betalgo.Ranul.OpenAI.Managers.OpenAIService.CreateRequest(IList`1 chatMessages, ChatOptions options)
at Betalgo.Ranul.OpenAI.Managers.OpenAIService.d__32.MoveNext()
at Betalgo.Ranul.OpenAI.Managers.OpenAIService.d__32.System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult(Int16 token)
at Meryel.Comment2GPT.GptCore.ExtensionsAiAdapter.d__10.MoveNext() in D:\Develop\Comment2GPT\src\GptCore\ExtensionsAiAdapter.cs:line 172
The text was updated successfully, but these errors were encountered: