Skip to content

Commit

Permalink
.Net: OpenAI V2 - Small fix (#8015)
Browse files Browse the repository at this point in the history
## Small fix

- Remove remaining comments.
  • Loading branch information
RogerBarreto authored Aug 9, 2024
1 parent 73319b1 commit 8be28e1
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions dotnet/src/Connectors/Connectors.OpenAI/Core/ClientCore.cs
Original file line number Diff line number Diff line change
@@ -1,20 +1,5 @@
// Copyright (c) Microsoft. All rights reserved.

/*
Phase 01 : This class was created adapting and merging ClientCore and OpenAIClientCore classes.
System.ClientModel changes were added and adapted to the code as this package is now used as a dependency over OpenAI package.
All logic from original ClientCore and OpenAIClientCore were preserved.
Phase 02 :
- Moved AddAttributes usage to the constructor, avoiding the need verify and adding it in the services.
- Added ModelId attribute to the OpenAIClient constructor.
- Added WhiteSpace instead of empty string for ApiKey to avoid exception from OpenAI Client on custom endpoints added an issue in OpenAI SDK repo. https://github.com/openai/openai-dotnet/issues/90
Phase 05:
- Model Id became not be required to support services like: File Service.
*/

using System;
using System.ClientModel;
using System.ClientModel.Primitives;
Expand Down

0 comments on commit 8be28e1

Please sign in to comment.