Skip to content

Endpoint Properties in IOpenAIAPI interface #68

@pandapknaepel

Description

@pandapknaepel

I have made an error in the IOpenAIAPI interface (and the OpenAIAPI class). The endpoint properties should be defined as interfaces instead of classes so that they are also suitable for Moq tests. Additionally, the IChatEndpoint interface should be added as a property.

Wrong:

CompletionEndpoint Completions { get; }

Correct:

ICompletionEndpoint Completions { get; }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions