From 35e0c9d6842a68d578a6b85cb983c55de536bf2f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 6 Dec 2024 18:14:52 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../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"