From afa6e3a4cc4be5b9497b015e73f16fce9b7d85d7 Mon Sep 17 00:00:00 2001 From: "Konstantin S." Date: Sat, 7 Dec 2024 01:09:22 +0400 Subject: [PATCH] feat: Updated OpenAPI spec (#92) Co-authored-by: github-actions[bot] --- .../Anthropic.Models.CreateMessageRequestModel.g.cs | 6 ------ src/libs/Anthropic/openapi.yaml | 1 - 2 files changed, 7 deletions(-) diff --git a/src/libs/Anthropic/Generated/Anthropic.Models.CreateMessageRequestModel.g.cs b/src/libs/Anthropic/Generated/Anthropic.Models.CreateMessageRequestModel.g.cs index d8ad71c..3257672 100644 --- a/src/libs/Anthropic/Generated/Anthropic.Models.CreateMessageRequestModel.g.cs +++ b/src/libs/Anthropic/Generated/Anthropic.Models.CreateMessageRequestModel.g.cs @@ -44,10 +44,6 @@ public enum CreateMessageRequestModel /// /// Claude20, - /// - /// - /// - ClaudeInstant12, } /// @@ -71,7 +67,6 @@ public static string ToValueString(this CreateMessageRequestModel value) CreateMessageRequestModel.Claude3Haiku20240307 => "claude-3-haiku-20240307", CreateMessageRequestModel.Claude21 => "claude-2.1", CreateMessageRequestModel.Claude20 => "claude-2.0", - CreateMessageRequestModel.ClaudeInstant12 => "claude-instant-1.2", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -91,7 +86,6 @@ public static string ToValueString(this CreateMessageRequestModel value) "claude-3-haiku-20240307" => CreateMessageRequestModel.Claude3Haiku20240307, "claude-2.1" => CreateMessageRequestModel.Claude21, "claude-2.0" => CreateMessageRequestModel.Claude20, - "claude-instant-1.2" => CreateMessageRequestModel.ClaudeInstant12, _ => null, }; } diff --git a/src/libs/Anthropic/openapi.yaml b/src/libs/Anthropic/openapi.yaml index daddd77..498ed62 100644 --- a/src/libs/Anthropic/openapi.yaml +++ b/src/libs/Anthropic/openapi.yaml @@ -92,7 +92,6 @@ components: - claude-3-haiku-20240307 - claude-2.1 - claude-2.0 - - claude-instant-1.2 type: string description: "Available models. Mind that the list may not be exhaustive nor up-to-date.\n" description: "The model that will complete your prompt.\n\nSee [models](https://docs.anthropic.com/en/docs/models-overview) for additional\ndetails and options.\n"