Skip to content

Commit

Permalink
Merge pull request #55 from tryAGI/bot/update-openapi_202408080314
Browse files Browse the repository at this point in the history
feat:Updated OpenAPI spec
  • Loading branch information
github-actions[bot] authored Aug 8, 2024
2 parents e536135 + 0ed498c commit b0e989d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ public enum CreateChatCompletionRequestModel
/// <summary>
///
/// </summary>
Gpt4o20240806,
/// <summary>
///
/// </summary>
Gpt4o20240513,
/// <summary>
///
Expand Down Expand Up @@ -123,7 +119,6 @@ public static string ToValueString(this CreateChatCompletionRequestModel value)
return value switch
{
CreateChatCompletionRequestModel.Gpt4o => "gpt-4o",
CreateChatCompletionRequestModel.Gpt4o20240806 => "gpt-4o-2024-08-06",
CreateChatCompletionRequestModel.Gpt4o20240513 => "gpt-4o-2024-05-13",
CreateChatCompletionRequestModel.Gpt4o20240806 => "gpt-4o-2024-08-06",
CreateChatCompletionRequestModel.Gpt4oMini => "gpt-4o-mini",
Expand Down Expand Up @@ -158,7 +153,6 @@ public static string ToValueString(this CreateChatCompletionRequestModel value)
return value switch
{
"gpt-4o" => CreateChatCompletionRequestModel.Gpt4o,
"gpt-4o-2024-08-06" => CreateChatCompletionRequestModel.Gpt4o20240806,
"gpt-4o-2024-05-13" => CreateChatCompletionRequestModel.Gpt4o20240513,
"gpt-4o-2024-08-06" => CreateChatCompletionRequestModel.Gpt4o20240806,
"gpt-4o-mini" => CreateChatCompletionRequestModel.Gpt4oMini,
Expand Down
1 change: 0 additions & 1 deletion src/libs/OpenAI/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4380,7 +4380,6 @@ components:
- type: string
- enum:
- gpt-4o
- gpt-4o-2024-08-06
- gpt-4o-2024-05-13
- gpt-4o-2024-08-06
- gpt-4o-mini
Expand Down

0 comments on commit b0e989d

Please sign in to comment.