tryAGI/LangChain

Throw exception, when create instance OpenAiProvider

Closed this issue · 0 comments

Describe the bug

I get last version nuget packages tryAGI.OpenAI (2.0.6), because, his .ctor was exteneded to support https parameter, some times ago. Yeah! I need it! Early, I used reflection to get correct behaviour in my case (connect to localhost).
But, when I try create instance OpenAiProvider, I got exception: "System.MissingMethodException: Method not found: 'Void OpenAI.OpenAIClientSettings..ctor(System.String, System.String)'."

Steps to reproduce the bug

  1. Get last version nuget package "tryAGI.OpenAI" (2.0.6)
  2. Get last version nuget package "LangChain.Providers.OpenAI" (0.13.1-dev107)
  3. Create instance OpenAiProvider

Expected behavior

No response

Screenshots

No response

NuGet package version

"tryAGI.OpenAI" (2.0.6)
"LangChain.Providers.OpenAI" (0.13.1-dev107)

Additional context

No response