OpenAI-API-dotnet
OpenAI-API-dotnet copied to clipboard
Current Version not building (4/28/2024)
Just thought I would let you know the current version is not building & I am getting the follwing errors:
- One instance of 'EndpointBase' does not contain a constructor that takes 1 arguments (in HttpClientResolutionTests.cs)
- Three instances of 'ImageSize' does not contain a constructor that takes 1 arguments (in HttpClientResolutionTests.cs)
- All packages are installed
- I am running Visual Studio 2022
- Visual Studio 2022 automatically installed .NET Core 3.1
- Restarting Visual Studio 2022 did not solve the issue
@PrisonerZERO , the error message is misleading. The actual problem is the access level of the constructors of EndpointBase
and ImageSize
is internal
, hence the references in OpenAI_Tests
assembly will show this error.
Submitted this PR as a fix to this problem