diff --git a/src/libs/SmallestAI/Generated/SmallestAI.JsonConverters.ChatCompletionRequestStop.g.cs b/src/libs/SmallestAI/Generated/SmallestAI.JsonConverters.ChatCompletionRequestStop.g.cs index 42d8a16..b0e378c 100644 --- a/src/libs/SmallestAI/Generated/SmallestAI.JsonConverters.ChatCompletionRequestStop.g.cs +++ b/src/libs/SmallestAI/Generated/SmallestAI.JsonConverters.ChatCompletionRequestStop.g.cs @@ -73,6 +73,10 @@ public class ChatCompletionRequestStopJsonConverter : global::System.Text.Json.S catch (global::System.InvalidOperationException) { } + catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader") + { + // Legacy enum converters signal an incompatible JSON token with this exception. + } } else if (__bestIndex == 1) @@ -90,6 +94,10 @@ public class ChatCompletionRequestStopJsonConverter : global::System.Text.Json.S catch (global::System.InvalidOperationException) { } + catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader") + { + // Legacy enum converters signal an incompatible JSON token with this exception. + } } } @@ -108,6 +116,10 @@ public class ChatCompletionRequestStopJsonConverter : global::System.Text.Json.S catch (global::System.InvalidOperationException) { } + catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader") + { + // Legacy enum converters signal an incompatible JSON token with this exception. + } } if (chatCompletionRequestStopVariant1 == null && chatCompletionRequestStopVariant2 == null) @@ -125,6 +137,10 @@ public class ChatCompletionRequestStopJsonConverter : global::System.Text.Json.S catch (global::System.InvalidOperationException) { } + catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader") + { + // Legacy enum converters signal an incompatible JSON token with this exception. + } } var __value = new global::SmallestAI.ChatCompletionRequestStop( diff --git a/src/libs/SmallestAI/Generated/SmallestAI.JsonConverters.ChatCompletionRequestToolChoice.g.cs b/src/libs/SmallestAI/Generated/SmallestAI.JsonConverters.ChatCompletionRequestToolChoice.g.cs index fecf407..0c90b4f 100644 --- a/src/libs/SmallestAI/Generated/SmallestAI.JsonConverters.ChatCompletionRequestToolChoice.g.cs +++ b/src/libs/SmallestAI/Generated/SmallestAI.JsonConverters.ChatCompletionRequestToolChoice.g.cs @@ -62,6 +62,10 @@ public class ChatCompletionRequestToolChoiceJsonConverter : global::System.Text. catch (global::System.InvalidOperationException) { } + catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader") + { + // Legacy enum converters signal an incompatible JSON token with this exception. + } } else if (__bestIndex == 1) { @@ -77,6 +81,10 @@ public class ChatCompletionRequestToolChoiceJsonConverter : global::System.Text. catch (global::System.InvalidOperationException) { } + catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader") + { + // Legacy enum converters signal an incompatible JSON token with this exception. + } } } @@ -95,6 +103,10 @@ public class ChatCompletionRequestToolChoiceJsonConverter : global::System.Text. catch (global::System.InvalidOperationException) { } + catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader") + { + // Legacy enum converters signal an incompatible JSON token with this exception. + } } if (chatCompletionRequestToolChoice0 == null && chatCompletionRequestToolChoice1 == null) @@ -112,6 +124,10 @@ public class ChatCompletionRequestToolChoiceJsonConverter : global::System.Text. catch (global::System.InvalidOperationException) { } + catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader") + { + // Legacy enum converters signal an incompatible JSON token with this exception. + } } var __value = new global::SmallestAI.ChatCompletionRequestToolChoice( diff --git a/src/libs/SmallestAI/Generated/SmallestAI.JsonConverters.SpeechToTextTranscribeResponse200.g.cs b/src/libs/SmallestAI/Generated/SmallestAI.JsonConverters.SpeechToTextTranscribeResponse200.g.cs index 1a576a6..ee3352d 100644 --- a/src/libs/SmallestAI/Generated/SmallestAI.JsonConverters.SpeechToTextTranscribeResponse200.g.cs +++ b/src/libs/SmallestAI/Generated/SmallestAI.JsonConverters.SpeechToTextTranscribeResponse200.g.cs @@ -76,6 +76,10 @@ public class SpeechToTextTranscribeResponse200JsonConverter : global::System.Tex catch (global::System.InvalidOperationException) { } + catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader") + { + // Legacy enum converters signal an incompatible JSON token with this exception. + } } else if (__bestIndex == 1) { @@ -91,6 +95,10 @@ public class SpeechToTextTranscribeResponse200JsonConverter : global::System.Tex catch (global::System.InvalidOperationException) { } + catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader") + { + // Legacy enum converters signal an incompatible JSON token with this exception. + } } } @@ -109,6 +117,10 @@ public class SpeechToTextTranscribeResponse200JsonConverter : global::System.Tex catch (global::System.InvalidOperationException) { } + catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader") + { + // Legacy enum converters signal an incompatible JSON token with this exception. + } } if (transcriptionResponse == null && asyncAccepted == null) @@ -126,6 +138,10 @@ public class SpeechToTextTranscribeResponse200JsonConverter : global::System.Tex catch (global::System.InvalidOperationException) { } + catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader") + { + // Legacy enum converters signal an incompatible JSON token with this exception. + } } var __value = new global::SmallestAI.SpeechToTextTranscribeResponse200( diff --git a/src/libs/SmallestAI/Generated/SmallestAI.JsonConverters.SttErrorResponseErrors.g.cs b/src/libs/SmallestAI/Generated/SmallestAI.JsonConverters.SttErrorResponseErrors.g.cs index d5b7c57..809d34c 100644 --- a/src/libs/SmallestAI/Generated/SmallestAI.JsonConverters.SttErrorResponseErrors.g.cs +++ b/src/libs/SmallestAI/Generated/SmallestAI.JsonConverters.SttErrorResponseErrors.g.cs @@ -73,6 +73,10 @@ public class SttErrorResponseErrorsJsonConverter : global::System.Text.Json.Seri catch (global::System.InvalidOperationException) { } + catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader") + { + // Legacy enum converters signal an incompatible JSON token with this exception. + } } else if (__bestIndex == 1) @@ -90,6 +94,10 @@ public class SttErrorResponseErrorsJsonConverter : global::System.Text.Json.Seri catch (global::System.InvalidOperationException) { } + catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader") + { + // Legacy enum converters signal an incompatible JSON token with this exception. + } } } @@ -108,6 +116,10 @@ public class SttErrorResponseErrorsJsonConverter : global::System.Text.Json.Seri catch (global::System.InvalidOperationException) { } + catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader") + { + // Legacy enum converters signal an incompatible JSON token with this exception. + } } if (sttErrorResponseErrors0 == null && sttErrorResponseErrorsVariant2 == null) @@ -125,6 +137,10 @@ public class SttErrorResponseErrorsJsonConverter : global::System.Text.Json.Seri catch (global::System.InvalidOperationException) { } + catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader") + { + // Legacy enum converters signal an incompatible JSON token with this exception. + } } var __value = new global::SmallestAI.SttErrorResponseErrors(