diff --git a/src/libs/Mistral/Generated/Mistral..JsonSerializerContext.g.cs b/src/libs/Mistral/Generated/Mistral..JsonSerializerContext.g.cs index dc9ccd4..0e894cd 100644 --- a/src/libs/Mistral/Generated/Mistral..JsonSerializerContext.g.cs +++ b/src/libs/Mistral/Generated/Mistral..JsonSerializerContext.g.cs @@ -41,6 +41,10 @@ namespace Mistral typeof(global::Mistral.JsonConverters.CodeInterpreterToolTypeNullableJsonConverter), + typeof(global::Mistral.JsonConverters.CompletionArgsReasoningEffort2JsonConverter), + + typeof(global::Mistral.JsonConverters.CompletionArgsReasoningEffort2NullableJsonConverter), + typeof(global::Mistral.JsonConverters.CustomConnectorTypeJsonConverter), typeof(global::Mistral.JsonConverters.CustomConnectorTypeNullableJsonConverter), @@ -225,6 +229,10 @@ namespace Mistral typeof(global::Mistral.JsonConverters.ChatCompletionRequestMessageDiscriminatorRoleNullableJsonConverter), + typeof(global::Mistral.JsonConverters.ChatCompletionRequestReasoningEffortJsonConverter), + + typeof(global::Mistral.JsonConverters.ChatCompletionRequestReasoningEffortNullableJsonConverter), + typeof(global::Mistral.JsonConverters.ChatModerationRequestInputVariant1ItemDiscriminatorRoleJsonConverter), typeof(global::Mistral.JsonConverters.ChatModerationRequestInputVariant1ItemDiscriminatorRoleNullableJsonConverter), @@ -285,6 +293,10 @@ namespace Mistral typeof(global::Mistral.JsonConverters.AgentsCompletionRequestMessageDiscriminatorRoleNullableJsonConverter), + typeof(global::Mistral.JsonConverters.AgentsCompletionRequestReasoningEffortJsonConverter), + + typeof(global::Mistral.JsonConverters.AgentsCompletionRequestReasoningEffortNullableJsonConverter), + typeof(global::Mistral.JsonConverters.ContentChunkDiscriminatorTypeJsonConverter), typeof(global::Mistral.JsonConverters.ContentChunkDiscriminatorTypeNullableJsonConverter), @@ -664,6 +676,7 @@ namespace Mistral [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mistral.Prediction))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mistral.ResponseFormat))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mistral.ToolChoiceEnum))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mistral.CompletionArgsReasoningEffort2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mistral.ConversationAppendRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mistral.ConversationAppendRequestBase))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mistral.ConversationAppendRequestVariant2))] @@ -897,6 +910,7 @@ namespace Mistral [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mistral.AnyOf))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mistral.ToolChoice2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mistral.MistralPromptMode))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mistral.ChatCompletionRequestReasoningEffort))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mistral.ChatModerationRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mistral.AnyOf, global::System.Collections.Generic.IList>>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] @@ -971,6 +985,7 @@ namespace Mistral [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mistral.MessagesItem3))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mistral.AgentsCompletionRequestMessageDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mistral.AgentsCompletionRequestMessageDiscriminatorRole))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mistral.AgentsCompletionRequestReasoningEffort))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mistral.ChatClassificationRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Mistral.ChatClassificationRequestInputs))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] diff --git a/src/libs/Mistral/Generated/Mistral.AgentsClient.AgentsCompletion.g.cs b/src/libs/Mistral/Generated/Mistral.AgentsClient.AgentsCompletion.g.cs deleted file mode 100644 index b3395c5..0000000 --- a/src/libs/Mistral/Generated/Mistral.AgentsClient.AgentsCompletion.g.cs +++ /dev/null @@ -1,318 +0,0 @@ - -#nullable enable - -namespace Mistral -{ - public partial class AgentsClient - { - partial void PrepareAgentsCompletionArguments( - global::System.Net.Http.HttpClient httpClient, - global::Mistral.AgentsCompletionRequest request); - partial void PrepareAgentsCompletionRequest( - global::System.Net.Http.HttpClient httpClient, - global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::Mistral.AgentsCompletionRequest request); - partial void ProcessAgentsCompletionResponse( - global::System.Net.Http.HttpClient httpClient, - global::System.Net.Http.HttpResponseMessage httpResponseMessage); - - partial void ProcessAgentsCompletionResponseContent( - global::System.Net.Http.HttpClient httpClient, - global::System.Net.Http.HttpResponseMessage httpResponseMessage, - ref string content); - - /// - /// Agents Completion - /// - /// - /// The token to cancel the operation with - /// - public async global::System.Threading.Tasks.Task AgentsCompletionAsync( - - global::Mistral.AgentsCompletionRequest request, - global::System.Threading.CancellationToken cancellationToken = default) - { - request = request ?? throw new global::System.ArgumentNullException(nameof(request)); - - PrepareArguments( - client: HttpClient); - PrepareAgentsCompletionArguments( - httpClient: HttpClient, - request: request); - - var __pathBuilder = new global::Mistral.PathBuilder( - path: "/v1/agents/completions", - baseUri: HttpClient.BaseAddress); - var __path = __pathBuilder.ToString(); - using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( - method: global::System.Net.Http.HttpMethod.Post, - requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); -#if NET6_0_OR_GREATER - __httpRequest.Version = global::System.Net.HttpVersion.Version11; - __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; -#endif - - foreach (var __authorization in Authorizations) - { - if (__authorization.Type == "Http" || - __authorization.Type == "OAuth2") - { - __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( - scheme: __authorization.Name, - parameter: __authorization.Value); - } - else if (__authorization.Type == "ApiKey" && - __authorization.Location == "Header") - { - __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); - } - } - var __httpRequestContentBody = request.ToJson(JsonSerializerContext); - var __httpRequestContent = new global::System.Net.Http.StringContent( - content: __httpRequestContentBody, - encoding: global::System.Text.Encoding.UTF8, - mediaType: "application/json"); - __httpRequest.Content = __httpRequestContent; - - PrepareRequest( - client: HttpClient, - request: __httpRequest); - PrepareAgentsCompletionRequest( - httpClient: HttpClient, - httpRequestMessage: __httpRequest, - request: request); - - using var __response = await HttpClient.SendAsync( - request: __httpRequest, - completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, - cancellationToken: cancellationToken).ConfigureAwait(false); - - ProcessResponse( - client: HttpClient, - response: __response); - ProcessAgentsCompletionResponse( - httpClient: HttpClient, - httpResponseMessage: __response); - // Validation Error - if ((int)__response.StatusCode == 422) - { - string? __content_422 = null; - global::System.Exception? __exception_422 = null; - global::Mistral.HTTPValidationError? __value_422 = null; - try - { - if (ReadResponseAsString) - { - __content_422 = await __response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); - __value_422 = global::Mistral.HTTPValidationError.FromJson(__content_422, JsonSerializerContext); - } - else - { - __content_422 = await __response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); - - __value_422 = global::Mistral.HTTPValidationError.FromJson(__content_422, JsonSerializerContext); - } - } - catch (global::System.Exception __ex) - { - __exception_422 = __ex; - } - - throw new global::Mistral.ApiException( - message: __content_422 ?? __response.ReasonPhrase ?? string.Empty, - innerException: __exception_422, - statusCode: __response.StatusCode) - { - ResponseBody = __content_422, - ResponseObject = __value_422, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( - __response.Headers, - h => h.Key, - h => h.Value), - }; - } - - if (ReadResponseAsString) - { - var __content = await __response.Content.ReadAsStringAsync( -#if NET5_0_OR_GREATER - cancellationToken -#endif - ).ConfigureAwait(false); - - ProcessResponseContent( - client: HttpClient, - response: __response, - content: ref __content); - ProcessAgentsCompletionResponseContent( - httpClient: HttpClient, - httpResponseMessage: __response, - content: ref __content); - - try - { - __response.EnsureSuccessStatusCode(); - - return - global::Mistral.ChatCompletionResponse.FromJson(__content, JsonSerializerContext) ?? - throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); - } - catch (global::System.Exception __ex) - { - throw new global::Mistral.ApiException( - message: __content ?? __response.ReasonPhrase ?? string.Empty, - innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( - __response.Headers, - h => h.Key, - h => h.Value), - }; - } - } - else - { - try - { - __response.EnsureSuccessStatusCode(); - - using var __content = await __response.Content.ReadAsStreamAsync( -#if NET5_0_OR_GREATER - cancellationToken -#endif - ).ConfigureAwait(false); - - return - await global::Mistral.ChatCompletionResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? - throw new global::System.InvalidOperationException("Response deserialization failed."); - } - catch (global::System.Exception __ex) - { - string? __content = null; - try - { - __content = await __response.Content.ReadAsStringAsync( -#if NET5_0_OR_GREATER - cancellationToken -#endif - ).ConfigureAwait(false); - } - catch (global::System.Exception) - { - } - - throw new global::Mistral.ApiException( - message: __content ?? __response.ReasonPhrase ?? string.Empty, - innerException: __ex, - statusCode: __response.StatusCode) - { - ResponseBody = __content, - ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( - __response.Headers, - h => h.Key, - h => h.Value), - }; - } - } - } - - /// - /// Agents Completion - /// - /// - /// The maximum number of tokens to generate in the completion. The token count of your prompt plus `max_tokens` cannot exceed the model's context length. - /// - /// - /// Whether to stream back partial progress. If set, tokens will be sent as data-only server-side events as they become available, with the stream terminated by a data: [DONE] message. Otherwise, the server will hold the request open until the timeout or until completion, with the response containing the full result as JSON.
- /// Default Value: false - /// - /// - /// Stop generation if this token is detected. Or if one of these tokens is detected when providing an array - /// - /// - /// The seed to use for random sampling. If set, different calls will generate deterministic results. - /// - /// - /// - /// The prompt(s) to generate completions for, encoded as a list of dict with role and content. - /// - /// - /// Specify the format that the model must output. By default it will use `{ "type": "text" }`. Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the message the model generates is in JSON. When using JSON mode you MUST also instruct the model to produce JSON yourself with a system or a user message. Setting to `{ "type": "json_schema" }` enables JSON schema mode, which guarantees the message the model generates is in JSON and follows the schema you provide. - /// - /// - /// - /// Default Value: auto - /// - /// - /// The `presence_penalty` determines how much the model penalizes the repetition of words or phrases. A higher presence penalty encourages the model to use a wider variety of words and phrases, making the output more diverse and creative.
- /// Default Value: 0.0 - /// - /// - /// The `frequency_penalty` penalizes the repetition of words based on their frequency in the generated text. A higher frequency penalty discourages the model from repeating words that have already appeared frequently in the output, promoting diversity and reducing repetition.
- /// Default Value: 0.0 - /// - /// - /// Number of completions to return for each request, input tokens are only billed once. - /// - /// - /// Enable users to specify expected results, optimizing response times by leveraging known or predictable content. This approach is especially effective for updating text documents or code files with minimal changes, reducing latency while maintaining high-quality results.
- /// Default Value: {"type":"content","content":""} - /// - /// - /// Default Value: true - /// - /// - /// Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used. - /// - /// - /// The ID of the agent to use for this completion. - /// - /// The token to cancel the operation with - /// - public async global::System.Threading.Tasks.Task AgentsCompletionAsync( - global::System.Collections.Generic.IList messages, - string agentId, - int? maxTokens = default, - bool? stream = default, - global::Mistral.AnyOf>? stop = default, - int? randomSeed = default, - object? metadata = default, - global::Mistral.ResponseFormat? responseFormat = default, - global::System.Collections.Generic.IList? tools = default, - global::Mistral.AnyOf? toolChoice = default, - double? presencePenalty = default, - double? frequencyPenalty = default, - int? n = default, - global::Mistral.Prediction? prediction = default, - bool? parallelToolCalls = default, - global::Mistral.MistralPromptMode? promptMode = default, - global::System.Threading.CancellationToken cancellationToken = default) - { - var __request = new global::Mistral.AgentsCompletionRequest - { - MaxTokens = maxTokens, - Stream = stream, - Stop = stop, - RandomSeed = randomSeed, - Metadata = metadata, - Messages = messages, - ResponseFormat = responseFormat, - Tools = tools, - ToolChoice = toolChoice, - PresencePenalty = presencePenalty, - FrequencyPenalty = frequencyPenalty, - N = n, - Prediction = prediction, - ParallelToolCalls = parallelToolCalls, - PromptMode = promptMode, - AgentId = agentId, - }; - - return await AgentsCompletionAsync( - request: __request, - cancellationToken: cancellationToken).ConfigureAwait(false); - } - } -} \ No newline at end of file diff --git a/src/libs/Mistral/Generated/Mistral.ChatClient.ChatCompletion.g.cs b/src/libs/Mistral/Generated/Mistral.ChatClient.ChatCompletion.g.cs index 3b451ec..6a4ea02 100644 --- a/src/libs/Mistral/Generated/Mistral.ChatClient.ChatCompletion.g.cs +++ b/src/libs/Mistral/Generated/Mistral.ChatClient.ChatCompletion.g.cs @@ -55,6 +55,7 @@ partial void ProcessChatCompletionResponseContent( Prediction = request.Prediction, ParallelToolCalls = request.ParallelToolCalls, PromptMode = request.PromptMode, + ReasoningEffort = request.ReasoningEffort, Guardrails = request.Guardrails, SafePrompt = request.SafePrompt, }; @@ -298,7 +299,10 @@ partial void ProcessChatCompletionResponseContent( /// Default Value: true /// /// - /// Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used. + /// Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used. **Deprecated for reasoning models - use `reasoning_effort` parameter instead.** + /// + /// + /// Controls the reasoning effort level for reasoning models. "high" enables comprehensive reasoning traces, "none" disables reasoning effort. /// /// /// A list of guardrail configurations to apply to this request. Each guardrail specifies a moderation type, categories with thresholds to evaluate, and an action to take on violation.
@@ -328,6 +332,7 @@ partial void ProcessChatCompletionResponseContent( global::Mistral.Prediction? prediction = default, bool? parallelToolCalls = default, global::Mistral.MistralPromptMode? promptMode = default, + global::Mistral.ChatCompletionRequestReasoningEffort? reasoningEffort = default, global::System.Collections.Generic.IList? guardrails = default, bool? safePrompt = default, global::System.Threading.CancellationToken cancellationToken = default) @@ -352,6 +357,7 @@ partial void ProcessChatCompletionResponseContent( Prediction = prediction, ParallelToolCalls = parallelToolCalls, PromptMode = promptMode, + ReasoningEffort = reasoningEffort, Guardrails = guardrails, SafePrompt = safePrompt, }; diff --git a/src/libs/Mistral/Generated/Mistral.ChatClient.ChatCompletionAsStream.g.cs b/src/libs/Mistral/Generated/Mistral.ChatClient.ChatCompletionAsStream.g.cs index d673310..e88b8dd 100644 --- a/src/libs/Mistral/Generated/Mistral.ChatClient.ChatCompletionAsStream.g.cs +++ b/src/libs/Mistral/Generated/Mistral.ChatClient.ChatCompletionAsStream.g.cs @@ -50,6 +50,7 @@ partial void ProcessChatCompletionAsStreamResponse( Prediction = request.Prediction, ParallelToolCalls = request.ParallelToolCalls, PromptMode = request.PromptMode, + ReasoningEffort = request.ReasoningEffort, Guardrails = request.Guardrails, SafePrompt = request.SafePrompt, }; @@ -232,7 +233,10 @@ partial void ProcessChatCompletionAsStreamResponse( /// Default Value: true /// /// - /// Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used. + /// Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used. **Deprecated for reasoning models - use `reasoning_effort` parameter instead.** + /// + /// + /// Controls the reasoning effort level for reasoning models. "high" enables comprehensive reasoning traces, "none" disables reasoning effort. /// /// /// A list of guardrail configurations to apply to this request. Each guardrail specifies a moderation type, categories with thresholds to evaluate, and an action to take on violation.
@@ -262,6 +266,7 @@ partial void ProcessChatCompletionAsStreamResponse( global::Mistral.Prediction? prediction = default, bool? parallelToolCalls = default, global::Mistral.MistralPromptMode? promptMode = default, + global::Mistral.ChatCompletionRequestReasoningEffort? reasoningEffort = default, global::System.Collections.Generic.IList? guardrails = default, bool? safePrompt = default, [global::System.Runtime.CompilerServices.EnumeratorCancellation] global::System.Threading.CancellationToken cancellationToken = default) @@ -286,6 +291,7 @@ partial void ProcessChatCompletionAsStreamResponse( Prediction = prediction, ParallelToolCalls = parallelToolCalls, PromptMode = promptMode, + ReasoningEffort = reasoningEffort, Guardrails = guardrails, SafePrompt = safePrompt, }; diff --git a/src/libs/Mistral/Generated/Mistral.DeprecatedAgentsClient.g.cs b/src/libs/Mistral/Generated/Mistral.DeprecatedAgentsClient.g.cs new file mode 100644 index 0000000..b166f5d --- /dev/null +++ b/src/libs/Mistral/Generated/Mistral.DeprecatedAgentsClient.g.cs @@ -0,0 +1,87 @@ + +#nullable enable + +namespace Mistral +{ + /// + /// (deprecated) Agents completion API
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public sealed partial class DeprecatedAgentsClient : global::Mistral.IDeprecatedAgentsClient, global::System.IDisposable + { + /// + /// Production server + /// + public const string DefaultBaseUrl = "https://api.mistral.ai"; + + private bool _disposeHttpClient = true; + + /// + public global::System.Net.Http.HttpClient HttpClient { get; } + + /// + public System.Uri? BaseUri => HttpClient.BaseAddress; + + /// + public global::System.Collections.Generic.List Authorizations { get; } + + /// + public bool ReadResponseAsString { get; set; } +#if DEBUG + = true; +#endif + /// + /// + /// + public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } = global::Mistral.SourceGenerationContext.Default; + + + /// + /// Creates a new instance of the DeprecatedAgentsClient. + /// If no httpClient is provided, a new one will be created. + /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + /// + /// The HttpClient instance. If not provided, a new one will be created. + /// The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used. + /// The authorizations to use for the requests. + /// Dispose the HttpClient when the instance is disposed. True by default. + public DeprecatedAgentsClient( + global::System.Net.Http.HttpClient? httpClient = null, + global::System.Uri? baseUri = null, + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) + { + HttpClient = httpClient ?? new global::System.Net.Http.HttpClient(); + HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); + Authorizations = authorizations ?? new global::System.Collections.Generic.List(); + _disposeHttpClient = disposeHttpClient; + + Initialized(HttpClient); + } + + /// + public void Dispose() + { + if (_disposeHttpClient) + { + HttpClient.Dispose(); + } + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/libs/Mistral/Generated/Mistral.IAgentsClient.AgentsCompletion.g.cs b/src/libs/Mistral/Generated/Mistral.IAgentsClient.AgentsCompletion.g.cs deleted file mode 100644 index 4b477f7..0000000 --- a/src/libs/Mistral/Generated/Mistral.IAgentsClient.AgentsCompletion.g.cs +++ /dev/null @@ -1,90 +0,0 @@ -#nullable enable - -namespace Mistral -{ - public partial interface IAgentsClient - { - /// - /// Agents Completion - /// - /// - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task AgentsCompletionAsync( - - global::Mistral.AgentsCompletionRequest request, - global::System.Threading.CancellationToken cancellationToken = default); - - /// - /// Agents Completion - /// - /// - /// The maximum number of tokens to generate in the completion. The token count of your prompt plus `max_tokens` cannot exceed the model's context length. - /// - /// - /// Whether to stream back partial progress. If set, tokens will be sent as data-only server-side events as they become available, with the stream terminated by a data: [DONE] message. Otherwise, the server will hold the request open until the timeout or until completion, with the response containing the full result as JSON.
- /// Default Value: false - /// - /// - /// Stop generation if this token is detected. Or if one of these tokens is detected when providing an array - /// - /// - /// The seed to use for random sampling. If set, different calls will generate deterministic results. - /// - /// - /// - /// The prompt(s) to generate completions for, encoded as a list of dict with role and content. - /// - /// - /// Specify the format that the model must output. By default it will use `{ "type": "text" }`. Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the message the model generates is in JSON. When using JSON mode you MUST also instruct the model to produce JSON yourself with a system or a user message. Setting to `{ "type": "json_schema" }` enables JSON schema mode, which guarantees the message the model generates is in JSON and follows the schema you provide. - /// - /// - /// - /// Default Value: auto - /// - /// - /// The `presence_penalty` determines how much the model penalizes the repetition of words or phrases. A higher presence penalty encourages the model to use a wider variety of words and phrases, making the output more diverse and creative.
- /// Default Value: 0.0 - /// - /// - /// The `frequency_penalty` penalizes the repetition of words based on their frequency in the generated text. A higher frequency penalty discourages the model from repeating words that have already appeared frequently in the output, promoting diversity and reducing repetition.
- /// Default Value: 0.0 - /// - /// - /// Number of completions to return for each request, input tokens are only billed once. - /// - /// - /// Enable users to specify expected results, optimizing response times by leveraging known or predictable content. This approach is especially effective for updating text documents or code files with minimal changes, reducing latency while maintaining high-quality results.
- /// Default Value: {"type":"content","content":""} - /// - /// - /// Default Value: true - /// - /// - /// Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used. - /// - /// - /// The ID of the agent to use for this completion. - /// - /// The token to cancel the operation with - /// - global::System.Threading.Tasks.Task AgentsCompletionAsync( - global::System.Collections.Generic.IList messages, - string agentId, - int? maxTokens = default, - bool? stream = default, - global::Mistral.AnyOf>? stop = default, - int? randomSeed = default, - object? metadata = default, - global::Mistral.ResponseFormat? responseFormat = default, - global::System.Collections.Generic.IList? tools = default, - global::Mistral.AnyOf? toolChoice = default, - double? presencePenalty = default, - double? frequencyPenalty = default, - int? n = default, - global::Mistral.Prediction? prediction = default, - bool? parallelToolCalls = default, - global::Mistral.MistralPromptMode? promptMode = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/Mistral/Generated/Mistral.IChatClient.ChatCompletion.g.cs b/src/libs/Mistral/Generated/Mistral.IChatClient.ChatCompletion.g.cs index b1f0969..75fcc58 100644 --- a/src/libs/Mistral/Generated/Mistral.IChatClient.ChatCompletion.g.cs +++ b/src/libs/Mistral/Generated/Mistral.IChatClient.ChatCompletion.g.cs @@ -71,7 +71,10 @@ public partial interface IChatClient /// Default Value: true /// /// - /// Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used. + /// Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used. **Deprecated for reasoning models - use `reasoning_effort` parameter instead.** + /// + /// + /// Controls the reasoning effort level for reasoning models. "high" enables comprehensive reasoning traces, "none" disables reasoning effort. /// /// /// A list of guardrail configurations to apply to this request. Each guardrail specifies a moderation type, categories with thresholds to evaluate, and an action to take on violation.
@@ -101,6 +104,7 @@ public partial interface IChatClient global::Mistral.Prediction? prediction = default, bool? parallelToolCalls = default, global::Mistral.MistralPromptMode? promptMode = default, + global::Mistral.ChatCompletionRequestReasoningEffort? reasoningEffort = default, global::System.Collections.Generic.IList? guardrails = default, bool? safePrompt = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/Mistral/Generated/Mistral.IChatClient.ChatCompletionAsStream.g.cs b/src/libs/Mistral/Generated/Mistral.IChatClient.ChatCompletionAsStream.g.cs index c91d6b3..bf00ba1 100644 --- a/src/libs/Mistral/Generated/Mistral.IChatClient.ChatCompletionAsStream.g.cs +++ b/src/libs/Mistral/Generated/Mistral.IChatClient.ChatCompletionAsStream.g.cs @@ -71,7 +71,10 @@ public partial interface IChatClient /// Default Value: true /// /// - /// Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used. + /// Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used. **Deprecated for reasoning models - use `reasoning_effort` parameter instead.** + /// + /// + /// Controls the reasoning effort level for reasoning models. "high" enables comprehensive reasoning traces, "none" disables reasoning effort. /// /// /// A list of guardrail configurations to apply to this request. Each guardrail specifies a moderation type, categories with thresholds to evaluate, and an action to take on violation.
@@ -101,6 +104,7 @@ public partial interface IChatClient global::Mistral.Prediction? prediction = default, bool? parallelToolCalls = default, global::Mistral.MistralPromptMode? promptMode = default, + global::Mistral.ChatCompletionRequestReasoningEffort? reasoningEffort = default, global::System.Collections.Generic.IList? guardrails = default, bool? safePrompt = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/Mistral/Generated/Mistral.IDeprecatedAgentsClient.g.cs b/src/libs/Mistral/Generated/Mistral.IDeprecatedAgentsClient.g.cs new file mode 100644 index 0000000..87cd407 --- /dev/null +++ b/src/libs/Mistral/Generated/Mistral.IDeprecatedAgentsClient.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace Mistral +{ + /// + /// (deprecated) Agents completion API
+ /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IDeprecatedAgentsClient : global::System.IDisposable + { + /// + /// The HttpClient instance. + /// + public global::System.Net.Http.HttpClient HttpClient { get; } + + /// + /// The base URL for the API. + /// + public System.Uri? BaseUri { get; } + + /// + /// The authorizations to use for the requests. + /// + public global::System.Collections.Generic.List Authorizations { get; } + + /// + /// Gets or sets a value indicating whether the response content should be read as a string. + /// True by default in debug builds, false otherwise. + /// When false, successful responses are deserialized directly from the response stream for better performance. + /// Error responses are always read as strings regardless of this setting, + /// ensuring is populated. + /// + public bool ReadResponseAsString { get; set; } + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/libs/Mistral/Generated/Mistral.IMistralClient.g.cs b/src/libs/Mistral/Generated/Mistral.IMistralClient.g.cs index 98e2c9b..dd0fee6 100644 --- a/src/libs/Mistral/Generated/Mistral.IMistralClient.g.cs +++ b/src/libs/Mistral/Generated/Mistral.IMistralClient.g.cs @@ -70,6 +70,11 @@ public partial interface IMistralClient : global::System.IDisposable /// public FilesClient Files { get; } + /// + /// (deprecated) Agents completion API + /// + public DeprecatedAgentsClient DeprecatedAgents { get; } + /// /// (deprecated) Fine-tuning API /// diff --git a/src/libs/Mistral/Generated/Mistral.JsonConverters.AgentsCompletionRequestReasoningEffort.g.cs b/src/libs/Mistral/Generated/Mistral.JsonConverters.AgentsCompletionRequestReasoningEffort.g.cs new file mode 100644 index 0000000..d922104 --- /dev/null +++ b/src/libs/Mistral/Generated/Mistral.JsonConverters.AgentsCompletionRequestReasoningEffort.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace Mistral.JsonConverters +{ + /// + public sealed class AgentsCompletionRequestReasoningEffortJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Mistral.AgentsCompletionRequestReasoningEffort Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Mistral.AgentsCompletionRequestReasoningEffortExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Mistral.AgentsCompletionRequestReasoningEffort)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Mistral.AgentsCompletionRequestReasoningEffort); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Mistral.AgentsCompletionRequestReasoningEffort value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Mistral.AgentsCompletionRequestReasoningEffortExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Mistral/Generated/Mistral.JsonConverters.AgentsCompletionRequestReasoningEffortNullable.g.cs b/src/libs/Mistral/Generated/Mistral.JsonConverters.AgentsCompletionRequestReasoningEffortNullable.g.cs new file mode 100644 index 0000000..eae1b32 --- /dev/null +++ b/src/libs/Mistral/Generated/Mistral.JsonConverters.AgentsCompletionRequestReasoningEffortNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace Mistral.JsonConverters +{ + /// + public sealed class AgentsCompletionRequestReasoningEffortNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Mistral.AgentsCompletionRequestReasoningEffort? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Mistral.AgentsCompletionRequestReasoningEffortExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Mistral.AgentsCompletionRequestReasoningEffort)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Mistral.AgentsCompletionRequestReasoningEffort?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Mistral.AgentsCompletionRequestReasoningEffort? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Mistral.AgentsCompletionRequestReasoningEffortExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Mistral/Generated/Mistral.JsonConverters.ChatCompletionRequestReasoningEffort.g.cs b/src/libs/Mistral/Generated/Mistral.JsonConverters.ChatCompletionRequestReasoningEffort.g.cs new file mode 100644 index 0000000..7942526 --- /dev/null +++ b/src/libs/Mistral/Generated/Mistral.JsonConverters.ChatCompletionRequestReasoningEffort.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace Mistral.JsonConverters +{ + /// + public sealed class ChatCompletionRequestReasoningEffortJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Mistral.ChatCompletionRequestReasoningEffort Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Mistral.ChatCompletionRequestReasoningEffortExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Mistral.ChatCompletionRequestReasoningEffort)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Mistral.ChatCompletionRequestReasoningEffort); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Mistral.ChatCompletionRequestReasoningEffort value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Mistral.ChatCompletionRequestReasoningEffortExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Mistral/Generated/Mistral.JsonConverters.ChatCompletionRequestReasoningEffortNullable.g.cs b/src/libs/Mistral/Generated/Mistral.JsonConverters.ChatCompletionRequestReasoningEffortNullable.g.cs new file mode 100644 index 0000000..e8b571b --- /dev/null +++ b/src/libs/Mistral/Generated/Mistral.JsonConverters.ChatCompletionRequestReasoningEffortNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace Mistral.JsonConverters +{ + /// + public sealed class ChatCompletionRequestReasoningEffortNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Mistral.ChatCompletionRequestReasoningEffort? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Mistral.ChatCompletionRequestReasoningEffortExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Mistral.ChatCompletionRequestReasoningEffort)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Mistral.ChatCompletionRequestReasoningEffort?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Mistral.ChatCompletionRequestReasoningEffort? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Mistral.ChatCompletionRequestReasoningEffortExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Mistral/Generated/Mistral.JsonConverters.CompletionArgsReasoningEffort2.g.cs b/src/libs/Mistral/Generated/Mistral.JsonConverters.CompletionArgsReasoningEffort2.g.cs new file mode 100644 index 0000000..e759902 --- /dev/null +++ b/src/libs/Mistral/Generated/Mistral.JsonConverters.CompletionArgsReasoningEffort2.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace Mistral.JsonConverters +{ + /// + public sealed class CompletionArgsReasoningEffort2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Mistral.CompletionArgsReasoningEffort2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Mistral.CompletionArgsReasoningEffort2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Mistral.CompletionArgsReasoningEffort2)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Mistral.CompletionArgsReasoningEffort2); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Mistral.CompletionArgsReasoningEffort2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Mistral.CompletionArgsReasoningEffort2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Mistral/Generated/Mistral.JsonConverters.CompletionArgsReasoningEffort2Nullable.g.cs b/src/libs/Mistral/Generated/Mistral.JsonConverters.CompletionArgsReasoningEffort2Nullable.g.cs new file mode 100644 index 0000000..8489164 --- /dev/null +++ b/src/libs/Mistral/Generated/Mistral.JsonConverters.CompletionArgsReasoningEffort2Nullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace Mistral.JsonConverters +{ + /// + public sealed class CompletionArgsReasoningEffort2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Mistral.CompletionArgsReasoningEffort2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Mistral.CompletionArgsReasoningEffort2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Mistral.CompletionArgsReasoningEffort2)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Mistral.CompletionArgsReasoningEffort2?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Mistral.CompletionArgsReasoningEffort2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Mistral.CompletionArgsReasoningEffort2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Mistral/Generated/Mistral.JsonSerializerContextTypes.g.cs b/src/libs/Mistral/Generated/Mistral.JsonSerializerContextTypes.g.cs index 1c431cf..c82e8a0 100644 --- a/src/libs/Mistral/Generated/Mistral.JsonSerializerContextTypes.g.cs +++ b/src/libs/Mistral/Generated/Mistral.JsonSerializerContextTypes.g.cs @@ -268,2107 +268,2119 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::Mistral.ConversationAppendRequest? Type60 { get; set; } + public global::Mistral.CompletionArgsReasoningEffort2? Type60 { get; set; } /// /// /// - public global::Mistral.ConversationAppendRequestBase? Type61 { get; set; } + public global::Mistral.ConversationAppendRequest? Type61 { get; set; } /// /// /// - public global::Mistral.ConversationAppendRequestVariant2? Type62 { get; set; } + public global::Mistral.ConversationAppendRequestBase? Type62 { get; set; } /// /// /// - public global::Mistral.ConversationHistory? Type63 { get; set; } + public global::Mistral.ConversationAppendRequestVariant2? Type63 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type64 { get; set; } + public global::Mistral.ConversationHistory? Type64 { get; set; } /// /// /// - public global::Mistral.AnyOf? Type65 { get; set; } + public global::System.Collections.Generic.IList>? Type65 { get; set; } /// /// /// - public global::Mistral.MessageInputEntry? Type66 { get; set; } + public global::Mistral.AnyOf? Type66 { get; set; } /// /// /// - public global::Mistral.MessageOutputEntry? Type67 { get; set; } + public global::Mistral.MessageInputEntry? Type67 { get; set; } /// /// /// - public global::Mistral.FunctionResultEntry? Type68 { get; set; } + public global::Mistral.MessageOutputEntry? Type68 { get; set; } /// /// /// - public global::Mistral.FunctionCallEntry? Type69 { get; set; } + public global::Mistral.FunctionResultEntry? Type69 { get; set; } /// /// /// - public global::Mistral.ToolExecutionEntry? Type70 { get; set; } + public global::Mistral.FunctionCallEntry? Type70 { get; set; } /// /// /// - public global::Mistral.ConversationMessages? Type71 { get; set; } + public global::Mistral.ToolExecutionEntry? Type71 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type72 { get; set; } + public global::Mistral.ConversationMessages? Type72 { get; set; } /// /// /// - public global::Mistral.ConversationRestartRequest? Type73 { get; set; } + public global::System.Collections.Generic.IList>? Type73 { get; set; } /// /// /// - public global::Mistral.ConversationRestartRequestBase? Type74 { get; set; } + public global::Mistral.ConversationRestartRequest? Type74 { get; set; } /// /// /// - public global::Mistral.ConversationRestartRequestVariant2? Type75 { get; set; } + public global::Mistral.ConversationRestartRequestBase? Type75 { get; set; } /// /// /// - public global::Mistral.CustomConnectorType? Type76 { get; set; } + public global::Mistral.ConversationRestartRequestVariant2? Type76 { get; set; } /// /// /// - public global::Mistral.AuthorizationVariant1? Type77 { get; set; } + public global::Mistral.CustomConnectorType? Type77 { get; set; } /// /// /// - public global::Mistral.OAuth2TokenAuth? Type78 { get; set; } + public global::Mistral.AuthorizationVariant1? Type78 { get; set; } /// /// /// - public global::Mistral.CustomConnectorAuthorizationVariant1Discriminator? Type79 { get; set; } + public global::Mistral.OAuth2TokenAuth? Type79 { get; set; } /// /// /// - public global::Mistral.CustomConnectorAuthorizationVariant1DiscriminatorType? Type80 { get; set; } + public global::Mistral.CustomConnectorAuthorizationVariant1Discriminator? Type80 { get; set; } /// /// /// - public global::Mistral.DocumentLibraryToolType? Type81 { get; set; } + public global::Mistral.CustomConnectorAuthorizationVariant1DiscriminatorType? Type81 { get; set; } /// /// /// - public global::Mistral.DocumentURLChunk? Type82 { get; set; } + public global::Mistral.DocumentLibraryToolType? Type82 { get; set; } /// /// /// - public global::Mistral.Function? Type83 { get; set; } + public global::Mistral.DocumentURLChunk? Type83 { get; set; } /// /// /// - public global::Mistral.FunctionCallEntryArguments? Type84 { get; set; } + public global::Mistral.Function? Type84 { get; set; } /// /// /// - public global::Mistral.FunctionCallEntryConfirmationStatus2? Type85 { get; set; } + public global::Mistral.FunctionCallEntryArguments? Type85 { get; set; } /// /// /// - public global::Mistral.FunctionToolType? Type86 { get; set; } + public global::Mistral.FunctionCallEntryConfirmationStatus2? Type86 { get; set; } /// /// /// - public global::Mistral.ModerationLLMV1Config? Type87 { get; set; } + public global::Mistral.FunctionToolType? Type87 { get; set; } /// /// /// - public global::Mistral.ModerationLLMV2Config? Type88 { get; set; } + public global::Mistral.ModerationLLMV1Config? Type88 { get; set; } /// /// /// - public global::Mistral.ImageDetail? Type89 { get; set; } + public global::Mistral.ModerationLLMV2Config? Type89 { get; set; } /// /// /// - public global::Mistral.ImageGenerationToolType? Type90 { get; set; } + public global::Mistral.ImageDetail? Type90 { get; set; } /// /// /// - public global::Mistral.ImageURL? Type91 { get; set; } + public global::Mistral.ImageGenerationToolType? Type91 { get; set; } /// /// /// - public global::Mistral.ImageURLChunk? Type92 { get; set; } + public global::Mistral.ImageURL? Type92 { get; set; } /// /// /// - public global::Mistral.AnyOf? Type93 { get; set; } + public global::Mistral.ImageURLChunk? Type93 { get; set; } /// /// /// - public global::Mistral.JsonSchema? Type94 { get; set; } + public global::Mistral.AnyOf? Type94 { get; set; } /// /// /// - public global::Mistral.MessageInputEntryRole? Type95 { get; set; } + public global::Mistral.JsonSchema? Type95 { get; set; } /// /// /// - public global::Mistral.AnyOf>>? Type96 { get; set; } + public global::Mistral.MessageInputEntryRole? Type96 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type97 { get; set; } + public global::Mistral.AnyOf>>? Type97 { get; set; } /// /// /// - public global::Mistral.AnyOf>>? Type98 { get; set; } + public global::System.Collections.Generic.IList>? Type98 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type99 { get; set; } + public global::Mistral.AnyOf>>? Type99 { get; set; } /// /// /// - public global::Mistral.ModelConversation? Type100 { get; set; } + public global::System.Collections.Generic.IList>? Type100 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type101 { get; set; } + public global::Mistral.ModelConversation? Type101 { get; set; } /// /// /// - public global::Mistral.ToolsItem4? Type102 { get; set; } + public global::System.Collections.Generic.IList? Type102 { get; set; } /// /// /// - public global::Mistral.ModelConversationToolDiscriminator? Type103 { get; set; } + public global::Mistral.ToolsItem4? Type103 { get; set; } /// /// /// - public global::Mistral.ModelConversationToolDiscriminatorType? Type104 { get; set; } + public global::Mistral.ModelConversationToolDiscriminator? Type104 { get; set; } /// /// /// - public global::Mistral.ModerationLLMAction? Type105 { get; set; } + public global::Mistral.ModelConversationToolDiscriminatorType? Type105 { get; set; } /// /// /// - public global::Mistral.ModerationLLMV1CategoryThresholds? Type106 { get; set; } + public global::Mistral.ModerationLLMAction? Type106 { get; set; } /// /// /// - public global::Mistral.ModerationLLMV2CategoryThresholds? Type107 { get; set; } + public global::Mistral.ModerationLLMV1CategoryThresholds? Type107 { get; set; } /// /// /// - public global::Mistral.OAuth2TokenAuthType? Type108 { get; set; } + public global::Mistral.ModerationLLMV2CategoryThresholds? Type108 { get; set; } /// /// /// - public global::Mistral.RequestSource? Type109 { get; set; } + public global::Mistral.OAuth2TokenAuthType? Type109 { get; set; } /// /// /// - public global::Mistral.ResponseFormats? Type110 { get; set; } + public global::Mistral.RequestSource? Type110 { get; set; } /// /// /// - public global::Mistral.TextChunk? Type111 { get; set; } + public global::Mistral.ResponseFormats? Type111 { get; set; } /// /// /// - public global::Mistral.ThinkChunk? Type112 { get; set; } + public global::Mistral.TextChunk? Type112 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type113 { get; set; } + public global::Mistral.ThinkChunk? Type113 { get; set; } /// /// /// - public global::Mistral.AnyOf? Type114 { get; set; } + public global::System.Collections.Generic.IList>? Type114 { get; set; } /// /// /// - public global::Mistral.ToolReferenceChunk? Type115 { get; set; } + public global::Mistral.AnyOf? Type115 { get; set; } /// /// /// - public global::Mistral.ReferenceChunk? Type116 { get; set; } + public global::Mistral.ToolReferenceChunk? Type116 { get; set; } /// /// /// - public global::Mistral.ToolCallConfirmation? Type117 { get; set; } + public global::Mistral.ReferenceChunk? Type117 { get; set; } /// /// /// - public global::Mistral.ToolCallConfirmationConfirmation? Type118 { get; set; } + public global::Mistral.ToolCallConfirmation? Type118 { get; set; } /// /// /// - public global::Mistral.AnyOf? Type119 { get; set; } + public global::Mistral.ToolCallConfirmationConfirmation? Type119 { get; set; } /// /// /// - public global::Mistral.ToolFileChunk? Type120 { get; set; } + public global::Mistral.AnyOf? Type120 { get; set; } /// /// /// - public global::Mistral.WebSearchPremiumToolType? Type121 { get; set; } + public global::Mistral.ToolFileChunk? Type121 { get; set; } /// /// /// - public global::Mistral.WebSearchToolType? Type122 { get; set; } + public global::Mistral.WebSearchPremiumToolType? Type122 { get; set; } /// /// /// - public global::Mistral.ConversationUsageInfo? Type123 { get; set; } + public global::Mistral.WebSearchToolType? Type123 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type124 { get; set; } + public global::Mistral.ConversationUsageInfo? Type124 { get; set; } /// /// /// - public global::Mistral.ConversationResponse? Type125 { get; set; } + public global::System.Collections.Generic.Dictionary? Type125 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type126 { get; set; } + public global::Mistral.ConversationResponse? Type126 { get; set; } /// /// /// - public global::Mistral.AnyOf? Type127 { get; set; } + public global::System.Collections.Generic.IList>? Type127 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type128 { get; set; } + public global::Mistral.AnyOf? Type128 { get; set; } /// /// /// - public global::Mistral.ConversationRequest? Type129 { get; set; } + public global::System.Collections.Generic.IList? Type129 { get; set; } /// /// /// - public global::Mistral.ConversationRequestBase? Type130 { get; set; } + public global::Mistral.ConversationRequest? Type130 { get; set; } /// /// /// - public global::Mistral.ConversationRequestVariant2? Type131 { get; set; } + public global::Mistral.ConversationRequestBase? Type131 { get; set; } /// /// /// - public global::Mistral.AgentHandoffDoneEvent? Type132 { get; set; } + public global::Mistral.ConversationRequestVariant2? Type132 { get; set; } /// /// /// - public global::Mistral.AgentHandoffStartedEvent? Type133 { get; set; } + public global::Mistral.AgentHandoffDoneEvent? Type133 { get; set; } /// /// /// - public global::Mistral.FunctionCallEvent? Type134 { get; set; } + public global::Mistral.AgentHandoffStartedEvent? Type134 { get; set; } /// /// /// - public global::Mistral.FunctionCallEventConfirmationStatus2? Type135 { get; set; } + public global::Mistral.FunctionCallEvent? Type135 { get; set; } /// /// /// - public global::Mistral.MessageOutputEvent? Type136 { get; set; } + public global::Mistral.FunctionCallEventConfirmationStatus2? Type136 { get; set; } /// /// /// - public global::Mistral.AnyOf? Type137 { get; set; } + public global::Mistral.MessageOutputEvent? Type137 { get; set; } /// /// /// - public global::Mistral.OutputContentChunks? Type138 { get; set; } + public global::Mistral.AnyOf? Type138 { get; set; } /// /// /// - public global::Mistral.ResponseDoneEvent? Type139 { get; set; } + public global::Mistral.OutputContentChunks? Type139 { get; set; } /// /// /// - public global::Mistral.ResponseErrorEvent? Type140 { get; set; } + public global::Mistral.ResponseDoneEvent? Type140 { get; set; } /// /// /// - public global::Mistral.ResponseStartedEvent? Type141 { get; set; } + public global::Mistral.ResponseErrorEvent? Type141 { get; set; } /// /// /// - public global::Mistral.SSETypes? Type142 { get; set; } + public global::Mistral.ResponseStartedEvent? Type142 { get; set; } /// /// /// - public global::Mistral.ToolExecutionDeltaEvent? Type143 { get; set; } + public global::Mistral.SSETypes? Type143 { get; set; } /// /// /// - public global::Mistral.ToolExecutionDoneEvent? Type144 { get; set; } + public global::Mistral.ToolExecutionDeltaEvent? Type144 { get; set; } /// /// /// - public global::Mistral.ToolExecutionStartedEvent? Type145 { get; set; } + public global::Mistral.ToolExecutionDoneEvent? Type145 { get; set; } /// /// /// - public global::Mistral.ConversationEvents? Type146 { get; set; } + public global::Mistral.ToolExecutionStartedEvent? Type146 { get; set; } /// /// /// - public global::Mistral.Data? Type147 { get; set; } + public global::Mistral.ConversationEvents? Type147 { get; set; } /// /// /// - public global::Mistral.ConversationEventsDataDiscriminator? Type148 { get; set; } + public global::Mistral.Data? Type148 { get; set; } /// /// /// - public global::Mistral.ConversationEventsDataDiscriminatorType? Type149 { get; set; } + public global::Mistral.ConversationEventsDataDiscriminator? Type149 { get; set; } /// /// /// - public global::Mistral.AnyOf? Type150 { get; set; } + public global::Mistral.ConversationEventsDataDiscriminatorType? Type150 { get; set; } /// /// /// - public global::Mistral.AnyOf? Type151 { get; set; } + public global::Mistral.AnyOf? Type151 { get; set; } /// /// /// - public global::Mistral.AnyOf? Type152 { get; set; } + public global::Mistral.AnyOf? Type152 { get; set; } /// /// /// - public global::Mistral.ConversationInputs? Type153 { get; set; } + public global::Mistral.AnyOf? Type153 { get; set; } /// /// /// - public global::Mistral.ConversationRequestBaseHandoffExecution2? Type154 { get; set; } + public global::Mistral.ConversationInputs? Type154 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type155 { get; set; } + public global::Mistral.ConversationRequestBaseHandoffExecution2? Type155 { get; set; } /// /// /// - public global::Mistral.ToolsVariant1Item? Type156 { get; set; } + public global::System.Collections.Generic.IList? Type156 { get; set; } /// /// /// - public global::Mistral.ConversationRequestBaseToolsVariant1ItemDiscriminator? Type157 { get; set; } + public global::Mistral.ToolsVariant1Item? Type157 { get; set; } /// /// /// - public global::Mistral.ConversationRequestBaseToolsVariant1ItemDiscriminatorType? Type158 { get; set; } + public global::Mistral.ConversationRequestBaseToolsVariant1ItemDiscriminator? Type158 { get; set; } /// /// /// - public global::Mistral.ConversationStreamRequest? Type159 { get; set; } + public global::Mistral.ConversationRequestBaseToolsVariant1ItemDiscriminatorType? Type159 { get; set; } /// /// /// - public global::Mistral.ConversationStreamRequestVariant2? Type160 { get; set; } + public global::Mistral.ConversationStreamRequest? Type160 { get; set; } /// /// /// - public global::Mistral.ConversationAppendRequestBaseHandoffExecution? Type161 { get; set; } + public global::Mistral.ConversationStreamRequestVariant2? Type161 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type162 { get; set; } + public global::Mistral.ConversationAppendRequestBaseHandoffExecution? Type162 { get; set; } /// /// /// - public global::Mistral.ConversationAppendStreamRequest? Type163 { get; set; } + public global::System.Collections.Generic.IList? Type163 { get; set; } /// /// /// - public global::Mistral.ConversationAppendStreamRequestVariant2? Type164 { get; set; } + public global::Mistral.ConversationAppendStreamRequest? Type164 { get; set; } /// /// /// - public global::Mistral.ConversationRestartRequestBaseHandoffExecution? Type165 { get; set; } + public global::Mistral.ConversationAppendStreamRequestVariant2? Type165 { get; set; } /// /// /// - public global::Mistral.ConversationRestartStreamRequest? Type166 { get; set; } + public global::Mistral.ConversationRestartRequestBaseHandoffExecution? Type166 { get; set; } /// /// /// - public global::Mistral.ConversationRestartStreamRequestVariant2? Type167 { get; set; } + public global::Mistral.ConversationRestartStreamRequest? Type167 { get; set; } /// /// /// - public global::Mistral.FilePurpose? Type168 { get; set; } + public global::Mistral.ConversationRestartStreamRequestVariant2? Type168 { get; set; } /// /// /// - public global::Mistral.FileVisibility? Type169 { get; set; } + public global::Mistral.FilePurpose? Type169 { get; set; } /// /// /// - public global::Mistral.SampleType? Type170 { get; set; } + public global::Mistral.FileVisibility? Type170 { get; set; } /// /// /// - public global::Mistral.Source? Type171 { get; set; } + public global::Mistral.SampleType? Type171 { get; set; } /// /// /// - public global::Mistral.UploadFileOut? Type172 { get; set; } + public global::Mistral.Source? Type172 { get; set; } /// /// /// - public global::System.Guid? Type173 { get; set; } + public global::Mistral.UploadFileOut? Type173 { get; set; } /// /// /// - public long? Type174 { get; set; } + public global::System.Guid? Type174 { get; set; } /// /// /// - public global::System.DateTimeOffset? Type175 { get; set; } + public long? Type175 { get; set; } /// /// /// - public global::Mistral.FileSchema? Type176 { get; set; } + public global::System.DateTimeOffset? Type176 { get; set; } /// /// /// - public global::Mistral.ListFilesOut? Type177 { get; set; } + public global::Mistral.FileSchema? Type177 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type178 { get; set; } + public global::Mistral.ListFilesOut? Type178 { get; set; } /// /// /// - public global::Mistral.RetrieveFileOut? Type179 { get; set; } + public global::System.Collections.Generic.IList? Type179 { get; set; } /// /// /// - public global::Mistral.DeleteFileOut? Type180 { get; set; } + public global::Mistral.RetrieveFileOut? Type180 { get; set; } /// /// /// - public global::Mistral.FileSignedURL? Type181 { get; set; } + public global::Mistral.DeleteFileOut? Type181 { get; set; } /// /// /// - public global::Mistral.FineTuneableModelType? Type182 { get; set; } + public global::Mistral.FileSignedURL? Type182 { get; set; } /// /// /// - public global::Mistral.ClassifierJobOut? Type183 { get; set; } + public global::Mistral.FineTuneableModelType? Type183 { get; set; } /// /// /// - public global::Mistral.ClassifierJobOutStatus? Type184 { get; set; } + public global::Mistral.ClassifierJobOut? Type184 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type185 { get; set; } + public global::Mistral.ClassifierJobOutStatus? Type185 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type186 { get; set; } + public global::System.Collections.Generic.IList? Type186 { get; set; } /// /// /// - public global::Mistral.IntegrationsVariant1Item? Type187 { get; set; } + public global::System.Collections.Generic.IList? Type187 { get; set; } /// /// /// - public global::Mistral.WandbIntegrationOut? Type188 { get; set; } + public global::Mistral.IntegrationsVariant1Item? Type188 { get; set; } /// /// /// - public global::Mistral.ClassifierJobOutIntegrationsVariant1ItemDiscriminator? Type189 { get; set; } + public global::Mistral.WandbIntegrationOut? Type189 { get; set; } /// /// /// - public global::Mistral.ClassifierJobOutIntegrationsVariant1ItemDiscriminatorType? Type190 { get; set; } + public global::Mistral.ClassifierJobOutIntegrationsVariant1ItemDiscriminator? Type190 { get; set; } /// /// /// - public global::Mistral.JobMetadataOut? Type191 { get; set; } + public global::Mistral.ClassifierJobOutIntegrationsVariant1ItemDiscriminatorType? Type191 { get; set; } /// /// /// - public global::Mistral.ClassifierTrainingParameters? Type192 { get; set; } + public global::Mistral.JobMetadataOut? Type192 { get; set; } /// /// /// - public global::Mistral.CompletionJobOut? Type193 { get; set; } + public global::Mistral.ClassifierTrainingParameters? Type193 { get; set; } /// /// /// - public global::Mistral.CompletionJobOutStatus? Type194 { get; set; } + public global::Mistral.CompletionJobOut? Type194 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type195 { get; set; } + public global::Mistral.CompletionJobOutStatus? Type195 { get; set; } /// /// /// - public global::Mistral.IntegrationsVariant1Item2? Type196 { get; set; } + public global::System.Collections.Generic.IList? Type196 { get; set; } /// /// /// - public global::Mistral.CompletionJobOutIntegrationsVariant1ItemDiscriminator? Type197 { get; set; } + public global::Mistral.IntegrationsVariant1Item2? Type197 { get; set; } /// /// /// - public global::Mistral.CompletionJobOutIntegrationsVariant1ItemDiscriminatorType? Type198 { get; set; } + public global::Mistral.CompletionJobOutIntegrationsVariant1ItemDiscriminator? Type198 { get; set; } /// /// /// - public global::Mistral.CompletionTrainingParameters? Type199 { get; set; } + public global::Mistral.CompletionJobOutIntegrationsVariant1ItemDiscriminatorType? Type199 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type200 { get; set; } + public global::Mistral.CompletionTrainingParameters? Type200 { get; set; } /// /// /// - public global::Mistral.RepositoriesItem? Type201 { get; set; } + public global::System.Collections.Generic.IList? Type201 { get; set; } /// /// /// - public global::Mistral.GithubRepositoryOut? Type202 { get; set; } + public global::Mistral.RepositoriesItem? Type202 { get; set; } /// /// /// - public global::Mistral.CompletionJobOutRepositorieDiscriminator? Type203 { get; set; } + public global::Mistral.GithubRepositoryOut? Type203 { get; set; } /// /// /// - public global::Mistral.CompletionJobOutRepositorieDiscriminatorType? Type204 { get; set; } + public global::Mistral.CompletionJobOutRepositorieDiscriminator? Type204 { get; set; } /// /// /// - public global::Mistral.JobsOut? Type205 { get; set; } + public global::Mistral.CompletionJobOutRepositorieDiscriminatorType? Type205 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type206 { get; set; } + public global::Mistral.JobsOut? Type206 { get; set; } /// /// /// - public global::Mistral.DataItem2? Type207 { get; set; } + public global::System.Collections.Generic.IList? Type207 { get; set; } /// /// /// - public global::Mistral.JobsOutDataItemDiscriminator? Type208 { get; set; } + public global::Mistral.DataItem2? Type208 { get; set; } /// /// /// - public global::Mistral.JobsOutDataItemDiscriminatorJobType? Type209 { get; set; } + public global::Mistral.JobsOutDataItemDiscriminator? Type209 { get; set; } /// /// /// - public global::Mistral.LegacyJobMetadataOut? Type210 { get; set; } + public global::Mistral.JobsOutDataItemDiscriminatorJobType? Type210 { get; set; } /// /// /// - public global::Mistral.ClassifierTargetIn? Type211 { get; set; } + public global::Mistral.LegacyJobMetadataOut? Type211 { get; set; } /// /// /// - public global::Mistral.FTClassifierLossFunction? Type212 { get; set; } + public global::Mistral.ClassifierTargetIn? Type212 { get; set; } /// /// /// - public global::Mistral.ClassifierTrainingParametersIn? Type213 { get; set; } + public global::Mistral.FTClassifierLossFunction? Type213 { get; set; } /// /// /// - public global::Mistral.CompletionTrainingParametersIn? Type214 { get; set; } + public global::Mistral.ClassifierTrainingParametersIn? Type214 { get; set; } /// /// /// - public global::Mistral.GithubRepositoryIn? Type215 { get; set; } + public global::Mistral.CompletionTrainingParametersIn? Type215 { get; set; } /// /// /// - public global::Mistral.JobIn? Type216 { get; set; } + public global::Mistral.GithubRepositoryIn? Type216 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type217 { get; set; } + public global::Mistral.JobIn? Type217 { get; set; } /// /// /// - public global::Mistral.TrainingFile? Type218 { get; set; } + public global::System.Collections.Generic.IList? Type218 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type219 { get; set; } + public global::Mistral.TrainingFile? Type219 { get; set; } /// /// /// - public global::Mistral.IntegrationsVariant1Item3? Type220 { get; set; } + public global::System.Collections.Generic.IList? Type220 { get; set; } /// /// /// - public global::Mistral.WandbIntegration? Type221 { get; set; } + public global::Mistral.IntegrationsVariant1Item3? Type221 { get; set; } /// /// /// - public global::Mistral.JobInIntegrationsVariant1ItemDiscriminator? Type222 { get; set; } + public global::Mistral.WandbIntegration? Type222 { get; set; } /// /// /// - public global::Mistral.JobInIntegrationsVariant1ItemDiscriminatorType? Type223 { get; set; } + public global::Mistral.JobInIntegrationsVariant1ItemDiscriminator? Type223 { get; set; } /// /// /// - public global::Mistral.AnyOf? Type224 { get; set; } + public global::Mistral.JobInIntegrationsVariant1ItemDiscriminatorType? Type224 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type225 { get; set; } + public global::Mistral.AnyOf? Type225 { get; set; } /// /// /// - public global::Mistral.RepositoriesVariant1Item? Type226 { get; set; } + public global::System.Collections.Generic.IList? Type226 { get; set; } /// /// /// - public global::Mistral.JobInRepositoriesVariant1ItemDiscriminator? Type227 { get; set; } + public global::Mistral.RepositoriesVariant1Item? Type227 { get; set; } /// /// /// - public global::Mistral.JobInRepositoriesVariant1ItemDiscriminatorType? Type228 { get; set; } + public global::Mistral.JobInRepositoriesVariant1ItemDiscriminator? Type228 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type229 { get; set; } + public global::Mistral.JobInRepositoriesVariant1ItemDiscriminatorType? Type229 { get; set; } /// /// /// - public global::Mistral.CheckpointOut? Type230 { get; set; } + public global::System.Collections.Generic.IList? Type230 { get; set; } /// /// /// - public global::Mistral.MetricOut? Type231 { get; set; } + public global::Mistral.CheckpointOut? Type231 { get; set; } /// /// /// - public global::Mistral.ClassifierDetailedJobOut? Type232 { get; set; } + public global::Mistral.MetricOut? Type232 { get; set; } /// /// /// - public global::Mistral.ClassifierDetailedJobOutStatus? Type233 { get; set; } + public global::Mistral.ClassifierDetailedJobOut? Type233 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type234 { get; set; } + public global::Mistral.ClassifierDetailedJobOutStatus? Type234 { get; set; } /// /// /// - public global::Mistral.IntegrationsVariant1Item4? Type235 { get; set; } + public global::System.Collections.Generic.IList? Type235 { get; set; } /// /// /// - public global::Mistral.ClassifierDetailedJobOutIntegrationsVariant1ItemDiscriminator? Type236 { get; set; } + public global::Mistral.IntegrationsVariant1Item4? Type236 { get; set; } /// /// /// - public global::Mistral.ClassifierDetailedJobOutIntegrationsVariant1ItemDiscriminatorType? Type237 { get; set; } + public global::Mistral.ClassifierDetailedJobOutIntegrationsVariant1ItemDiscriminator? Type237 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type238 { get; set; } + public global::Mistral.ClassifierDetailedJobOutIntegrationsVariant1ItemDiscriminatorType? Type238 { get; set; } /// /// /// - public global::Mistral.EventOut? Type239 { get; set; } + public global::System.Collections.Generic.IList? Type239 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type240 { get; set; } + public global::Mistral.EventOut? Type240 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type241 { get; set; } + public global::System.Collections.Generic.IList? Type241 { get; set; } /// /// /// - public global::Mistral.ClassifierTargetOut? Type242 { get; set; } + public global::System.Collections.Generic.IList? Type242 { get; set; } /// /// /// - public global::Mistral.CompletionDetailedJobOut? Type243 { get; set; } + public global::Mistral.ClassifierTargetOut? Type243 { get; set; } /// /// /// - public global::Mistral.CompletionDetailedJobOutStatus? Type244 { get; set; } + public global::Mistral.CompletionDetailedJobOut? Type244 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type245 { get; set; } + public global::Mistral.CompletionDetailedJobOutStatus? Type245 { get; set; } /// /// /// - public global::Mistral.IntegrationsVariant1Item5? Type246 { get; set; } + public global::System.Collections.Generic.IList? Type246 { get; set; } /// /// /// - public global::Mistral.CompletionDetailedJobOutIntegrationsVariant1ItemDiscriminator? Type247 { get; set; } + public global::Mistral.IntegrationsVariant1Item5? Type247 { get; set; } /// /// /// - public global::Mistral.CompletionDetailedJobOutIntegrationsVariant1ItemDiscriminatorType? Type248 { get; set; } + public global::Mistral.CompletionDetailedJobOutIntegrationsVariant1ItemDiscriminator? Type248 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type249 { get; set; } + public global::Mistral.CompletionDetailedJobOutIntegrationsVariant1ItemDiscriminatorType? Type249 { get; set; } /// /// /// - public global::Mistral.RepositoriesItem2? Type250 { get; set; } + public global::System.Collections.Generic.IList? Type250 { get; set; } /// /// /// - public global::Mistral.CompletionDetailedJobOutRepositorieDiscriminator? Type251 { get; set; } + public global::Mistral.RepositoriesItem2? Type251 { get; set; } /// /// /// - public global::Mistral.CompletionDetailedJobOutRepositorieDiscriminatorType? Type252 { get; set; } + public global::Mistral.CompletionDetailedJobOutRepositorieDiscriminator? Type252 { get; set; } /// /// /// - public global::Mistral.ClassifierFTModelOut? Type253 { get; set; } + public global::Mistral.CompletionDetailedJobOutRepositorieDiscriminatorType? Type253 { get; set; } /// /// /// - public global::Mistral.FTModelCapabilitiesOut? Type254 { get; set; } + public global::Mistral.ClassifierFTModelOut? Type254 { get; set; } /// /// /// - public global::Mistral.CompletionFTModelOut? Type255 { get; set; } + public global::Mistral.FTModelCapabilitiesOut? Type255 { get; set; } /// /// /// - public global::Mistral.UpdateFTModelIn? Type256 { get; set; } + public global::Mistral.CompletionFTModelOut? Type256 { get; set; } /// /// /// - public global::Mistral.ArchiveFTModelOut? Type257 { get; set; } + public global::Mistral.UpdateFTModelIn? Type257 { get; set; } /// /// /// - public global::Mistral.UnarchiveFTModelOut? Type258 { get; set; } + public global::Mistral.ArchiveFTModelOut? Type258 { get; set; } /// /// /// - public global::Mistral.BatchJobStatus? Type259 { get; set; } + public global::Mistral.UnarchiveFTModelOut? Type259 { get; set; } /// /// /// - public global::Mistral.BatchError? Type260 { get; set; } + public global::Mistral.BatchJobStatus? Type260 { get; set; } /// /// /// - public global::Mistral.BatchJobOut? Type261 { get; set; } + public global::Mistral.BatchError? Type261 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type262 { get; set; } + public global::Mistral.BatchJobOut? Type262 { get; set; } /// /// /// - public global::Mistral.BatchJobsOut? Type263 { get; set; } + public global::System.Collections.Generic.IList? Type263 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type264 { get; set; } + public global::Mistral.BatchJobsOut? Type264 { get; set; } /// /// /// - public global::Mistral.ApiEndpoint? Type265 { get; set; } + public global::System.Collections.Generic.IList? Type265 { get; set; } /// /// /// - public global::Mistral.BatchJobIn? Type266 { get; set; } + public global::Mistral.ApiEndpoint? Type266 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type267 { get; set; } + public global::Mistral.BatchJobIn? Type267 { get; set; } /// /// /// - public global::Mistral.BatchRequest? Type268 { get; set; } + public global::System.Collections.Generic.IList? Type268 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type269 { get; set; } + public global::Mistral.BatchRequest? Type269 { get; set; } /// /// /// - public global::Mistral.AssistantMessage? Type270 { get; set; } + public global::System.Collections.Generic.Dictionary? Type270 { get; set; } /// /// /// - public global::Mistral.AnyOf>? Type271 { get; set; } + public global::Mistral.AssistantMessage? Type271 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type272 { get; set; } + public global::Mistral.AnyOf>? Type272 { get; set; } /// /// /// - public global::Mistral.ContentChunk? Type273 { get; set; } + public global::System.Collections.Generic.IList? Type273 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type274 { get; set; } + public global::Mistral.ContentChunk? Type274 { get; set; } /// /// /// - public global::Mistral.ToolCall? Type275 { get; set; } + public global::System.Collections.Generic.IList? Type275 { get; set; } /// /// /// - public global::Mistral.AudioChunk? Type276 { get; set; } + public global::Mistral.ToolCall? Type276 { get; set; } /// /// /// - public global::Mistral.AnyOf? Type277 { get; set; } + public global::Mistral.AudioChunk? Type277 { get; set; } /// /// /// - public byte[]? Type278 { get; set; } + public global::Mistral.AnyOf? Type278 { get; set; } /// /// /// - public global::Mistral.ChatCompletionRequest? Type279 { get; set; } + public byte[]? Type279 { get; set; } /// /// /// - public global::Mistral.AnyOf>? Type280 { get; set; } + public global::Mistral.ChatCompletionRequest? Type280 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type281 { get; set; } + public global::Mistral.AnyOf>? Type281 { get; set; } /// /// /// - public global::Mistral.MessagesItem? Type282 { get; set; } + public global::System.Collections.Generic.IList? Type282 { get; set; } /// /// /// - public global::Mistral.SystemMessage? Type283 { get; set; } + public global::Mistral.MessagesItem? Type283 { get; set; } /// /// /// - public global::Mistral.UserMessage? Type284 { get; set; } + public global::Mistral.SystemMessage? Type284 { get; set; } /// /// /// - public global::Mistral.ToolMessage? Type285 { get; set; } + public global::Mistral.UserMessage? Type285 { get; set; } /// /// /// - public global::Mistral.ChatCompletionRequestMessageDiscriminator? Type286 { get; set; } + public global::Mistral.ToolMessage? Type286 { get; set; } /// /// /// - public global::Mistral.ChatCompletionRequestMessageDiscriminatorRole? Type287 { get; set; } + public global::Mistral.ChatCompletionRequestMessageDiscriminator? Type287 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type288 { get; set; } + public global::Mistral.ChatCompletionRequestMessageDiscriminatorRole? Type288 { get; set; } /// /// /// - public global::Mistral.Tool3? Type289 { get; set; } + public global::System.Collections.Generic.IList? Type289 { get; set; } /// /// /// - public global::Mistral.AnyOf? Type290 { get; set; } + public global::Mistral.Tool3? Type290 { get; set; } /// /// /// - public global::Mistral.ToolChoice2? Type291 { get; set; } + public global::Mistral.AnyOf? Type291 { get; set; } /// /// /// - public global::Mistral.MistralPromptMode? Type292 { get; set; } + public global::Mistral.ToolChoice2? Type292 { get; set; } /// /// /// - public global::Mistral.ChatModerationRequest? Type293 { get; set; } + public global::Mistral.MistralPromptMode? Type293 { get; set; } /// /// /// - public global::Mistral.AnyOf, global::System.Collections.Generic.IList>>? Type294 { get; set; } + public global::Mistral.ChatCompletionRequestReasoningEffort? Type294 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type295 { get; set; } + public global::Mistral.ChatModerationRequest? Type295 { get; set; } /// /// /// - public global::Mistral.InputVariant1Item? Type296 { get; set; } + public global::Mistral.AnyOf, global::System.Collections.Generic.IList>>? Type296 { get; set; } /// /// /// - public global::Mistral.ChatModerationRequestInputVariant1ItemDiscriminator? Type297 { get; set; } + public global::System.Collections.Generic.IList? Type297 { get; set; } /// /// /// - public global::Mistral.ChatModerationRequestInputVariant1ItemDiscriminatorRole? Type298 { get; set; } + public global::Mistral.InputVariant1Item? Type298 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type299 { get; set; } + public global::Mistral.ChatModerationRequestInputVariant1ItemDiscriminator? Type299 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type300 { get; set; } + public global::Mistral.ChatModerationRequestInputVariant1ItemDiscriminatorRole? Type300 { get; set; } /// /// /// - public global::Mistral.InputVariant2ItemItem? Type301 { get; set; } + public global::System.Collections.Generic.IList>? Type301 { get; set; } /// /// /// - public global::Mistral.ChatModerationRequestInputVariant2ItemItemDiscriminator? Type302 { get; set; } + public global::System.Collections.Generic.IList? Type302 { get; set; } /// /// /// - public global::Mistral.ChatModerationRequestInputVariant2ItemItemDiscriminatorRole? Type303 { get; set; } + public global::Mistral.InputVariant2ItemItem? Type303 { get; set; } /// /// /// - public global::Mistral.ClassificationRequest? Type304 { get; set; } + public global::Mistral.ChatModerationRequestInputVariant2ItemItemDiscriminator? Type304 { get; set; } /// /// /// - public global::Mistral.EmbeddingDtype? Type305 { get; set; } + public global::Mistral.ChatModerationRequestInputVariant2ItemItemDiscriminatorRole? Type305 { get; set; } /// /// /// - public global::Mistral.EmbeddingRequest? Type306 { get; set; } + public global::Mistral.ClassificationRequest? Type306 { get; set; } /// /// /// - public global::Mistral.EncodingFormat? Type307 { get; set; } + public global::Mistral.EmbeddingDtype? Type307 { get; set; } /// /// /// - public global::Mistral.FIMCompletionRequest? Type308 { get; set; } + public global::Mistral.EmbeddingRequest? Type308 { get; set; } /// /// /// - public global::Mistral.FileChunk? Type309 { get; set; } + public global::Mistral.EncodingFormat? Type309 { get; set; } /// /// /// - public global::Mistral.FunctionCall? Type310 { get; set; } + public global::Mistral.FIMCompletionRequest? Type310 { get; set; } /// /// /// - public global::Mistral.AnyOf? Type311 { get; set; } + public global::Mistral.FileChunk? Type311 { get; set; } /// /// /// - public global::Mistral.FunctionName? Type312 { get; set; } + public global::Mistral.FunctionCall? Type312 { get; set; } /// /// /// - public global::Mistral.InstructRequest? Type313 { get; set; } + public global::Mistral.AnyOf? Type313 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type314 { get; set; } + public global::Mistral.FunctionName? Type314 { get; set; } /// /// /// - public global::Mistral.MessagesItem2? Type315 { get; set; } + public global::Mistral.InstructRequest? Type315 { get; set; } /// /// /// - public global::Mistral.InstructRequestMessageDiscriminator? Type316 { get; set; } + public global::System.Collections.Generic.IList? Type316 { get; set; } /// /// /// - public global::Mistral.InstructRequestMessageDiscriminatorRole? Type317 { get; set; } + public global::Mistral.MessagesItem2? Type317 { get; set; } /// /// /// - public global::Mistral.OCRImageObject? Type318 { get; set; } + public global::Mistral.InstructRequestMessageDiscriminator? Type318 { get; set; } /// /// /// - public global::Mistral.OCRPageDimensions? Type319 { get; set; } + public global::Mistral.InstructRequestMessageDiscriminatorRole? Type319 { get; set; } /// /// /// - public global::Mistral.OCRPageObject? Type320 { get; set; } + public global::Mistral.OCRImageObject? Type320 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type321 { get; set; } + public global::Mistral.OCRPageDimensions? Type321 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type322 { get; set; } + public global::Mistral.OCRPageObject? Type322 { get; set; } /// /// /// - public global::Mistral.OCRTableObject? Type323 { get; set; } + public global::System.Collections.Generic.IList? Type323 { get; set; } /// /// /// - public global::Mistral.OCRRequest? Type324 { get; set; } + public global::System.Collections.Generic.IList? Type324 { get; set; } /// /// /// - public global::Mistral.AnyOf? Type325 { get; set; } + public global::Mistral.OCRTableObject? Type325 { get; set; } /// /// /// - public global::Mistral.OCRRequestTableFormat2? Type326 { get; set; } + public global::Mistral.OCRRequest? Type326 { get; set; } /// /// /// - public global::Mistral.OCRResponse? Type327 { get; set; } + public global::Mistral.AnyOf? Type327 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type328 { get; set; } + public global::Mistral.OCRRequestTableFormat2? Type328 { get; set; } /// /// /// - public global::Mistral.OCRUsageInfo? Type329 { get; set; } + public global::Mistral.OCRResponse? Type329 { get; set; } /// /// /// - public global::Mistral.OCRTableObjectFormat? Type330 { get; set; } + public global::System.Collections.Generic.IList? Type330 { get; set; } /// /// /// - public global::Mistral.AnyOf>? Type331 { get; set; } + public global::Mistral.OCRUsageInfo? Type331 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type332 { get; set; } + public global::Mistral.OCRTableObjectFormat? Type332 { get; set; } /// /// /// - public global::Mistral.SystemMessageContentChunks? Type333 { get; set; } + public global::Mistral.AnyOf>? Type333 { get; set; } /// /// /// - public global::Mistral.ToolTypes? Type334 { get; set; } + public global::System.Collections.Generic.IList? Type334 { get; set; } /// /// /// - public global::Mistral.TranscriptionResponse? Type335 { get; set; } + public global::Mistral.SystemMessageContentChunks? Type335 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type336 { get; set; } + public global::Mistral.ToolTypes? Type336 { get; set; } /// /// /// - public global::Mistral.TranscriptionSegmentChunk? Type337 { get; set; } + public global::Mistral.TranscriptionResponse? Type337 { get; set; } /// /// /// - public global::Mistral.UsageInfo? Type338 { get; set; } + public global::System.Collections.Generic.IList? Type338 { get; set; } /// /// /// - public global::Mistral.TimestampGranularity? Type339 { get; set; } + public global::Mistral.TranscriptionSegmentChunk? Type339 { get; set; } /// /// /// - public global::Mistral.AudioTranscriptionRequest? Type340 { get; set; } + public global::Mistral.UsageInfo? Type340 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type341 { get; set; } + public global::Mistral.TimestampGranularity? Type341 { get; set; } /// /// /// - public global::Mistral.AudioTranscriptionRequestStream? Type342 { get; set; } + public global::Mistral.AudioTranscriptionRequest? Type342 { get; set; } /// /// /// - public global::Mistral.TranscriptionStreamLanguage? Type343 { get; set; } + public global::System.Collections.Generic.IList? Type343 { get; set; } /// /// /// - public global::Mistral.TranscriptionStreamSegmentDelta? Type344 { get; set; } + public global::Mistral.AudioTranscriptionRequestStream? Type344 { get; set; } /// /// /// - public global::Mistral.TranscriptionStreamTextDelta? Type345 { get; set; } + public global::Mistral.TranscriptionStreamLanguage? Type345 { get; set; } /// /// /// - public global::Mistral.TranscriptionStreamDone? Type346 { get; set; } + public global::Mistral.TranscriptionStreamSegmentDelta? Type346 { get; set; } /// /// /// - public global::Mistral.TranscriptionStreamEvents? Type347 { get; set; } + public global::Mistral.TranscriptionStreamTextDelta? Type347 { get; set; } /// /// /// - public global::Mistral.TranscriptionStreamEventTypes? Type348 { get; set; } + public global::Mistral.TranscriptionStreamDone? Type348 { get; set; } /// /// /// - public global::Mistral.Data2? Type349 { get; set; } + public global::Mistral.TranscriptionStreamEvents? Type349 { get; set; } /// /// /// - public global::Mistral.TranscriptionStreamEventsDataDiscriminator? Type350 { get; set; } + public global::Mistral.TranscriptionStreamEventTypes? Type350 { get; set; } /// /// /// - public global::Mistral.TranscriptionStreamEventsDataDiscriminatorType? Type351 { get; set; } + public global::Mistral.Data2? Type351 { get; set; } /// /// /// - public global::Mistral.RealtimeTranscriptionClientMessage? Type352 { get; set; } + public global::Mistral.TranscriptionStreamEventsDataDiscriminator? Type352 { get; set; } /// /// /// - public global::Mistral.RealtimeTranscriptionSessionUpdateMessage? Type353 { get; set; } + public global::Mistral.TranscriptionStreamEventsDataDiscriminatorType? Type353 { get; set; } /// /// /// - public global::Mistral.RealtimeTranscriptionInputAudioAppend? Type354 { get; set; } + public global::Mistral.RealtimeTranscriptionClientMessage? Type354 { get; set; } /// /// /// - public global::Mistral.RealtimeTranscriptionInputAudioFlush? Type355 { get; set; } + public global::Mistral.RealtimeTranscriptionSessionUpdateMessage? Type355 { get; set; } /// /// /// - public global::Mistral.RealtimeTranscriptionInputAudioEnd? Type356 { get; set; } + public global::Mistral.RealtimeTranscriptionInputAudioAppend? Type356 { get; set; } /// /// /// - public global::Mistral.RealtimeTranscriptionClientMessageDiscriminator? Type357 { get; set; } + public global::Mistral.RealtimeTranscriptionInputAudioFlush? Type357 { get; set; } /// /// /// - public global::Mistral.RealtimeTranscriptionClientMessageDiscriminatorType? Type358 { get; set; } + public global::Mistral.RealtimeTranscriptionInputAudioEnd? Type358 { get; set; } /// /// /// - public global::Mistral.AudioEncoding? Type359 { get; set; } + public global::Mistral.RealtimeTranscriptionClientMessageDiscriminator? Type359 { get; set; } /// /// /// - public global::Mistral.AudioFormat? Type360 { get; set; } + public global::Mistral.RealtimeTranscriptionClientMessageDiscriminatorType? Type360 { get; set; } /// /// /// - public global::Mistral.RealtimeTranscriptionSessionUpdatePayload? Type361 { get; set; } + public global::Mistral.AudioEncoding? Type361 { get; set; } /// /// /// - public global::Mistral.AgentsCompletionRequest? Type362 { get; set; } + public global::Mistral.AudioFormat? Type362 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type363 { get; set; } + public global::Mistral.RealtimeTranscriptionSessionUpdatePayload? Type363 { get; set; } /// /// /// - public global::Mistral.MessagesItem3? Type364 { get; set; } + public global::Mistral.AgentsCompletionRequest? Type364 { get; set; } /// /// /// - public global::Mistral.AgentsCompletionRequestMessageDiscriminator? Type365 { get; set; } + public global::System.Collections.Generic.IList? Type365 { get; set; } /// /// /// - public global::Mistral.AgentsCompletionRequestMessageDiscriminatorRole? Type366 { get; set; } + public global::Mistral.MessagesItem3? Type366 { get; set; } /// /// /// - public global::Mistral.ChatClassificationRequest? Type367 { get; set; } + public global::Mistral.AgentsCompletionRequestMessageDiscriminator? Type367 { get; set; } /// /// /// - public global::Mistral.ChatClassificationRequestInputs? Type368 { get; set; } + public global::Mistral.AgentsCompletionRequestMessageDiscriminatorRole? Type368 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type369 { get; set; } + public global::Mistral.AgentsCompletionRequestReasoningEffort? Type369 { get; set; } /// /// /// - public global::Mistral.ClassificationResponse? Type370 { get; set; } + public global::Mistral.ChatClassificationRequest? Type370 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type371 { get; set; } + public global::Mistral.ChatClassificationRequestInputs? Type371 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type372 { get; set; } + public global::System.Collections.Generic.IList? Type372 { get; set; } /// /// /// - public global::Mistral.ClassificationTargetResult? Type373 { get; set; } + public global::Mistral.ClassificationResponse? Type373 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type374 { get; set; } + public global::System.Collections.Generic.IList>? Type374 { get; set; } /// /// /// - public global::Mistral.ContentChunkDiscriminator? Type375 { get; set; } + public global::System.Collections.Generic.Dictionary? Type375 { get; set; } /// /// /// - public global::Mistral.ContentChunkDiscriminatorType? Type376 { get; set; } + public global::Mistral.ClassificationTargetResult? Type376 { get; set; } /// /// /// - public global::Mistral.ModerationResponse? Type377 { get; set; } + public global::System.Collections.Generic.Dictionary? Type377 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type378 { get; set; } + public global::Mistral.ContentChunkDiscriminator? Type378 { get; set; } /// /// /// - public global::Mistral.ModerationObject? Type379 { get; set; } + public global::Mistral.ContentChunkDiscriminatorType? Type379 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type380 { get; set; } + public global::Mistral.ModerationResponse? Type380 { get; set; } /// /// /// - public global::Mistral.SystemMessageContentChunksDiscriminator? Type381 { get; set; } + public global::System.Collections.Generic.IList? Type381 { get; set; } /// /// /// - public global::Mistral.SystemMessageContentChunksDiscriminatorType? Type382 { get; set; } + public global::Mistral.ModerationObject? Type382 { get; set; } /// /// /// - public global::Mistral.DocumentOut? Type383 { get; set; } + public global::System.Collections.Generic.Dictionary? Type383 { get; set; } /// /// /// - public global::Mistral.ProcessStatus? Type384 { get; set; } + public global::Mistral.SystemMessageContentChunksDiscriminator? Type384 { get; set; } /// /// /// - public global::Mistral.DocumentTextContent? Type385 { get; set; } + public global::Mistral.SystemMessageContentChunksDiscriminatorType? Type385 { get; set; } /// /// /// - public global::Mistral.DocumentUpdateIn? Type386 { get; set; } + public global::Mistral.DocumentOut? Type386 { get; set; } /// /// /// - public global::Mistral.AnyOf, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>? Type387 { get; set; } + public global::Mistral.ProcessStatus? Type387 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type388 { get; set; } + public global::Mistral.DocumentTextContent? Type388 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type389 { get; set; } + public global::Mistral.DocumentUpdateIn? Type389 { get; set; } /// /// /// - public global::Mistral.FilterCondition? Type390 { get; set; } + public global::Mistral.AnyOf, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>? Type390 { get; set; } /// /// /// - public global::Mistral.FilterConditionOp? Type391 { get; set; } + public global::System.Collections.Generic.IList? Type391 { get; set; } /// /// /// - public global::Mistral.FilterGroup? Type392 { get; set; } + public global::System.Collections.Generic.IList? Type392 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type393 { get; set; } + public global::Mistral.FilterCondition? Type393 { get; set; } /// /// /// - public global::Mistral.AnyOf? Type394 { get; set; } + public global::Mistral.FilterConditionOp? Type394 { get; set; } /// /// /// - public global::Mistral.LibraryIn? Type395 { get; set; } + public global::Mistral.FilterGroup? Type395 { get; set; } /// /// /// - public global::Mistral.LibraryInUpdate? Type396 { get; set; } + public global::System.Collections.Generic.IList>? Type396 { get; set; } /// /// /// - public global::Mistral.LibraryOut? Type397 { get; set; } + public global::Mistral.AnyOf? Type397 { get; set; } /// /// /// - public global::Mistral.ListDocumentOut? Type398 { get; set; } + public global::Mistral.LibraryIn? Type398 { get; set; } /// /// /// - public global::Mistral.PaginationInfo? Type399 { get; set; } + public global::Mistral.LibraryInUpdate? Type399 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type400 { get; set; } + public global::Mistral.LibraryOut? Type400 { get; set; } /// /// /// - public global::Mistral.ListLibraryOut? Type401 { get; set; } + public global::Mistral.ListDocumentOut? Type401 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type402 { get; set; } + public global::Mistral.PaginationInfo? Type402 { get; set; } /// /// /// - public global::Mistral.ListSharingOut? Type403 { get; set; } + public global::System.Collections.Generic.IList? Type403 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type404 { get; set; } + public global::Mistral.ListLibraryOut? Type404 { get; set; } /// /// /// - public global::Mistral.SharingOut? Type405 { get; set; } + public global::System.Collections.Generic.IList? Type405 { get; set; } /// /// /// - public global::Mistral.ProcessingStatusOut? Type406 { get; set; } + public global::Mistral.ListSharingOut? Type406 { get; set; } /// /// /// - public global::Mistral.ShareEnum? Type407 { get; set; } + public global::System.Collections.Generic.IList? Type407 { get; set; } /// /// /// - public global::Mistral.SharingDelete? Type408 { get; set; } + public global::Mistral.SharingOut? Type408 { get; set; } /// /// /// - public global::Mistral.EntityType? Type409 { get; set; } + public global::Mistral.ProcessingStatusOut? Type409 { get; set; } /// /// /// - public global::Mistral.SharingIn? Type410 { get; set; } + public global::Mistral.ShareEnum? Type410 { get; set; } /// /// /// - public global::Mistral.BaseFieldDefinition? Type411 { get; set; } + public global::Mistral.SharingDelete? Type411 { get; set; } /// /// /// - public global::Mistral.BaseFieldDefinitionType? Type412 { get; set; } + public global::Mistral.EntityType? Type412 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type413 { get; set; } + public global::Mistral.SharingIn? Type413 { get; set; } /// /// /// - public global::Mistral.BaseFieldDefinitionSupportedOperator? Type414 { get; set; } + public global::Mistral.BaseFieldDefinition? Type414 { get; set; } /// /// /// - public global::Mistral.BaseTaskStatus? Type415 { get; set; } + public global::Mistral.BaseFieldDefinitionType? Type415 { get; set; } /// /// /// - public global::Mistral.CampaignPreview? Type416 { get; set; } + public global::System.Collections.Generic.IList? Type416 { get; set; } /// /// /// - public global::Mistral.FilterPayload? Type417 { get; set; } + public global::Mistral.BaseFieldDefinitionSupportedOperator? Type417 { get; set; } /// /// /// - public global::Mistral.JudgePreview? Type418 { get; set; } + public global::Mistral.BaseTaskStatus? Type418 { get; set; } /// /// /// - public global::Mistral.CampaignPreviews? Type419 { get; set; } + public global::Mistral.CampaignPreview? Type419 { get; set; } /// /// /// - public global::Mistral.PaginatedResultCampaignPreview? Type420 { get; set; } + public global::Mistral.FilterPayload? Type420 { get; set; } /// /// /// - public global::Mistral.CampaignSelectedEvents? Type421 { get; set; } + public global::Mistral.JudgePreview? Type421 { get; set; } /// /// /// - public global::Mistral.PaginatedResultChatCompletionEventPreview? Type422 { get; set; } + public global::Mistral.CampaignPreviews? Type422 { get; set; } /// /// /// - public global::Mistral.CampaignStatus? Type423 { get; set; } + public global::Mistral.PaginatedResultCampaignPreview? Type423 { get; set; } /// /// /// - public global::Mistral.ChatCompletionEventIds? Type424 { get; set; } + public global::Mistral.CampaignSelectedEvents? Type424 { get; set; } /// /// /// - public global::Mistral.ChatCompletionEvent? Type425 { get; set; } + public global::Mistral.PaginatedResultChatCompletionEventPreview? Type425 { get; set; } /// /// /// - public global::Mistral.AnyOf, object>? Type426 { get; set; } + public global::Mistral.CampaignStatus? Type426 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type427 { get; set; } + public global::Mistral.ChatCompletionEventIds? Type427 { get; set; } /// /// /// - public global::Mistral.ChatTranscriptionEvent? Type428 { get; set; } + public global::Mistral.ChatCompletionEvent? Type428 { get; set; } /// /// /// - public global::Mistral.ChatCompletionEventPreview? Type429 { get; set; } + public global::Mistral.AnyOf, object>? Type429 { get; set; } /// /// /// - public global::Mistral.ChatCompletionEvents? Type430 { get; set; } + public global::System.Collections.Generic.IList? Type430 { get; set; } /// /// /// - public global::Mistral.FeedResultChatCompletionEventPreview? Type431 { get; set; } + public global::Mistral.ChatTranscriptionEvent? Type431 { get; set; } /// /// /// - public global::Mistral.ChatCompletionFieldOptions? Type432 { get; set; } + public global::Mistral.ChatCompletionEventPreview? Type432 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type433 { get; set; } + public global::Mistral.ChatCompletionEvents? Type433 { get; set; } /// /// /// - public global::Mistral.AnyOf? Type434 { get; set; } + public global::Mistral.FeedResultChatCompletionEventPreview? Type434 { get; set; } /// /// /// - public global::Mistral.ChatCompletionFields? Type435 { get; set; } + public global::Mistral.ChatCompletionFieldOptions? Type435 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type436 { get; set; } + public global::System.Collections.Generic.IList>? Type436 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type437 { get; set; } + public global::Mistral.AnyOf? Type437 { get; set; } /// /// /// - public global::Mistral.FieldGroup? Type438 { get; set; } + public global::Mistral.ChatCompletionFields? Type438 { get; set; } /// /// /// - public global::Mistral.ConversationPayload? Type439 { get; set; } + public global::System.Collections.Generic.IList? Type439 { get; set; } /// /// /// - public global::Mistral.ConversationSource? Type440 { get; set; } + public global::System.Collections.Generic.IList? Type440 { get; set; } /// /// /// - public global::Mistral.DatasetExport? Type441 { get; set; } + public global::Mistral.FieldGroup? Type441 { get; set; } /// /// /// - public global::Mistral.DatasetImportTask? Type442 { get; set; } + public global::Mistral.ConversationPayload? Type442 { get; set; } /// /// /// - public global::Mistral.DatasetImportTasks? Type443 { get; set; } + public global::Mistral.ConversationSource? Type443 { get; set; } /// /// /// - public global::Mistral.PaginatedResultDatasetImportTask? Type444 { get; set; } + public global::Mistral.DatasetExport? Type444 { get; set; } /// /// /// - public global::Mistral.Dataset? Type445 { get; set; } + public global::Mistral.DatasetImportTask? Type445 { get; set; } /// /// /// - public global::Mistral.DatasetPreview? Type446 { get; set; } + public global::Mistral.DatasetImportTasks? Type446 { get; set; } /// /// /// - public global::Mistral.DatasetPreviews? Type447 { get; set; } + public global::Mistral.PaginatedResultDatasetImportTask? Type447 { get; set; } /// /// /// - public global::Mistral.PaginatedResultDatasetPreview? Type448 { get; set; } + public global::Mistral.Dataset? Type448 { get; set; } /// /// /// - public global::Mistral.DatasetRecord? Type449 { get; set; } + public global::Mistral.DatasetPreview? Type449 { get; set; } /// /// /// - public global::Mistral.DatasetRecords? Type450 { get; set; } + public global::Mistral.DatasetPreviews? Type450 { get; set; } /// /// /// - public global::Mistral.PaginatedResultDatasetRecord? Type451 { get; set; } + public global::Mistral.PaginatedResultDatasetPreview? Type451 { get; set; } /// /// /// - public global::Mistral.DeleteDatasetRecordsInSchema? Type452 { get; set; } + public global::Mistral.DatasetRecord? Type452 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type453 { get; set; } + public global::Mistral.DatasetRecords? Type453 { get; set; } /// /// /// - public global::Mistral.FieldOptionCountItem? Type454 { get; set; } + public global::Mistral.PaginatedResultDatasetRecord? Type454 { get; set; } /// /// /// - public global::Mistral.FieldOptionCountsInSchema? Type455 { get; set; } + public global::Mistral.DeleteDatasetRecordsInSchema? Type455 { get; set; } /// /// /// - public global::Mistral.FieldOptionCounts? Type456 { get; set; } + public global::System.Collections.Generic.IList? Type456 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type457 { get; set; } + public global::Mistral.FieldOptionCountItem? Type457 { get; set; } /// /// /// - public global::Mistral.AnyOf? Type458 { get; set; } + public global::Mistral.FieldOptionCountsInSchema? Type458 { get; set; } /// /// /// - public global::Mistral.GetChatCompletionEventIdsInSchema? Type459 { get; set; } + public global::Mistral.FieldOptionCounts? Type459 { get; set; } /// /// /// - public global::Mistral.GetChatCompletionEventsInSchema? Type460 { get; set; } + public global::System.Collections.Generic.IList? Type460 { get; set; } /// /// /// - public global::Mistral.JudgeClassificationOutput? Type461 { get; set; } + public global::Mistral.AnyOf? Type461 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type462 { get; set; } + public global::Mistral.GetChatCompletionEventIdsInSchema? Type462 { get; set; } /// /// /// - public global::Mistral.JudgeClassificationOutputOption? Type463 { get; set; } + public global::Mistral.GetChatCompletionEventsInSchema? Type463 { get; set; } /// /// /// - public global::Mistral.JudgeOutput? Type464 { get; set; } + public global::Mistral.JudgeClassificationOutput? Type464 { get; set; } /// /// /// - public global::Mistral.AnyOf? Type465 { get; set; } + public global::System.Collections.Generic.IList? Type465 { get; set; } /// /// /// - public global::Mistral.JudgeOutputType? Type466 { get; set; } + public global::Mistral.JudgeClassificationOutputOption? Type466 { get; set; } /// /// /// - public global::Mistral.Output? Type467 { get; set; } + public global::Mistral.JudgeOutput? Type467 { get; set; } /// /// /// - public global::Mistral.JudgeRegressionOutput? Type468 { get; set; } + public global::Mistral.AnyOf? Type468 { get; set; } /// /// /// - public global::Mistral.JudgePreviewOutputDiscriminator? Type469 { get; set; } + public global::Mistral.JudgeOutputType? Type469 { get; set; } /// /// /// - public global::Mistral.JudgePreviewOutputDiscriminatorType? Type470 { get; set; } + public global::Mistral.Output? Type470 { get; set; } /// /// /// - public global::Mistral.JudgePreviews? Type471 { get; set; } + public global::Mistral.JudgeRegressionOutput? Type471 { get; set; } /// /// /// - public global::Mistral.PaginatedResultJudgePreview? Type472 { get; set; } + public global::Mistral.JudgePreviewOutputDiscriminator? Type472 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type473 { get; set; } + public global::Mistral.JudgePreviewOutputDiscriminatorType? Type473 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type474 { get; set; } + public global::Mistral.JudgePreviews? Type474 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type475 { get; set; } + public global::Mistral.PaginatedResultJudgePreview? Type475 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type476 { get; set; } + public global::System.Collections.Generic.IList? Type476 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type477 { get; set; } + public global::System.Collections.Generic.IList? Type477 { get; set; } /// /// /// - public global::Mistral.PatchDatasetInSchema? Type478 { get; set; } + public global::System.Collections.Generic.IList? Type478 { get; set; } /// /// /// - public global::Mistral.PostCampaignInSchema? Type479 { get; set; } + public global::System.Collections.Generic.IList? Type479 { get; set; } /// /// /// - public global::Mistral.PostChatCompletionEventJudgingInSchema? Type480 { get; set; } + public global::System.Collections.Generic.IList? Type480 { get; set; } /// /// /// - public global::Mistral.PostJudgeInSchema? Type481 { get; set; } + public global::Mistral.PatchDatasetInSchema? Type481 { get; set; } /// /// /// - public global::Mistral.PostDatasetImportFromCampaignInSchema? Type482 { get; set; } + public global::Mistral.PostCampaignInSchema? Type482 { get; set; } /// /// /// - public global::Mistral.PostDatasetImportFromDatasetInSchema? Type483 { get; set; } + public global::Mistral.PostChatCompletionEventJudgingInSchema? Type483 { get; set; } /// /// /// - public global::Mistral.PostDatasetImportFromExplorerInSchema? Type484 { get; set; } + public global::Mistral.PostJudgeInSchema? Type484 { get; set; } /// /// /// - public global::Mistral.PostDatasetImportFromFileInSchema? Type485 { get; set; } + public global::Mistral.PostDatasetImportFromCampaignInSchema? Type485 { get; set; } /// /// /// - public global::Mistral.PostDatasetImportFromPlaygroundInSchema? Type486 { get; set; } + public global::Mistral.PostDatasetImportFromDatasetInSchema? Type486 { get; set; } /// /// /// - public global::Mistral.PostDatasetInSchema? Type487 { get; set; } + public global::Mistral.PostDatasetImportFromExplorerInSchema? Type487 { get; set; } /// /// /// - public global::Mistral.PostDatasetRecordInSchema? Type488 { get; set; } + public global::Mistral.PostDatasetImportFromFileInSchema? Type488 { get; set; } /// /// /// - public global::Mistral.PostDatasetRecordJudgingInSchema? Type489 { get; set; } + public global::Mistral.PostDatasetImportFromPlaygroundInSchema? Type489 { get; set; } /// /// /// - public global::Mistral.Output2? Type490 { get; set; } + public global::Mistral.PostDatasetInSchema? Type490 { get; set; } /// /// /// - public global::Mistral.PostJudgeInSchemaOutputDiscriminator? Type491 { get; set; } + public global::Mistral.PostDatasetRecordInSchema? Type491 { get; set; } /// /// /// - public global::Mistral.PostJudgeInSchemaOutputDiscriminatorType? Type492 { get; set; } + public global::Mistral.PostDatasetRecordJudgingInSchema? Type492 { get; set; } /// /// /// - public global::Mistral.PutDatasetRecordPayloadInSchema? Type493 { get; set; } + public global::Mistral.Output2? Type493 { get; set; } /// /// /// - public global::Mistral.PutDatasetRecordPropertiesInSchema? Type494 { get; set; } + public global::Mistral.PostJudgeInSchemaOutputDiscriminator? Type494 { get; set; } /// /// /// - public global::Mistral.PutJudgeInSchema? Type495 { get; set; } + public global::Mistral.PostJudgeInSchemaOutputDiscriminatorType? Type495 { get; set; } /// /// /// - public global::Mistral.Output3? Type496 { get; set; } + public global::Mistral.PutDatasetRecordPayloadInSchema? Type496 { get; set; } /// /// /// - public global::Mistral.PutJudgeInSchemaOutputDiscriminator? Type497 { get; set; } + public global::Mistral.PutDatasetRecordPropertiesInSchema? Type497 { get; set; } /// /// /// - public global::Mistral.PutJudgeInSchemaOutputDiscriminatorType? Type498 { get; set; } + public global::Mistral.PutJudgeInSchema? Type498 { get; set; } /// /// /// - public global::Mistral.Annotations? Type499 { get; set; } + public global::Mistral.Output3? Type499 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type500 { get; set; } + public global::Mistral.PutJudgeInSchemaOutputDiscriminator? Type500 { get; set; } /// /// /// - public global::Mistral.AnnotationsAudienceVariant1Item? Type501 { get; set; } + public global::Mistral.PutJudgeInSchemaOutputDiscriminatorType? Type501 { get; set; } /// /// /// - public global::Mistral.AudioContent? Type502 { get; set; } + public global::Mistral.Annotations? Type502 { get; set; } /// /// /// - public global::Mistral.AuthData? Type503 { get; set; } + public global::System.Collections.Generic.IList? Type503 { get; set; } /// /// /// - public global::Mistral.BlobResourceContents? Type504 { get; set; } + public global::Mistral.AnnotationsAudienceVariant1Item? Type504 { get; set; } /// /// /// - public global::Mistral.Connector? Type505 { get; set; } + public global::Mistral.AudioContent? Type505 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type506 { get; set; } + public global::Mistral.AuthData? Type506 { get; set; } /// /// /// - public global::Mistral.IntegrationsSchemasApiToolTool? Type507 { get; set; } + public global::Mistral.BlobResourceContents? Type507 { get; set; } /// /// /// - public global::Mistral.ConnectorMCPCreate? Type508 { get; set; } + public global::Mistral.Connector? Type508 { get; set; } /// /// /// - public global::Mistral.ResourceVisibility? Type509 { get; set; } + public global::System.Collections.Generic.IList? Type509 { get; set; } /// /// /// - public global::Mistral.ConnectorMCPUpdate? Type510 { get; set; } + public global::Mistral.IntegrationsSchemasApiToolTool? Type510 { get; set; } /// /// /// - public global::Mistral.ConnectorSupportedLanguage? Type511 { get; set; } + public global::Mistral.ConnectorMCPCreate? Type511 { get; set; } /// /// /// - public global::Mistral.ConnectorsQueryFilters? Type512 { get; set; } + public global::Mistral.ResourceVisibility? Type512 { get; set; } /// /// /// - public global::Mistral.EmbeddedResource? Type513 { get; set; } + public global::Mistral.ConnectorMCPUpdate? Type513 { get; set; } /// /// /// - public global::Mistral.AnyOf? Type514 { get; set; } + public global::Mistral.ConnectorSupportedLanguage? Type514 { get; set; } /// /// /// - public global::Mistral.TextResourceContents? Type515 { get; set; } + public global::Mistral.ConnectorsQueryFilters? Type515 { get; set; } /// /// /// - public global::Mistral.ExecutionConfig? Type516 { get; set; } + public global::Mistral.EmbeddedResource? Type516 { get; set; } /// /// /// - public global::Mistral.ImageContent? Type517 { get; set; } + public global::Mistral.AnyOf? Type517 { get; set; } /// /// /// - public global::Mistral.MCPResultMetadata? Type518 { get; set; } + public global::Mistral.TextResourceContents? Type518 { get; set; } /// /// /// - public global::Mistral.MCPToolCallMetadata? Type519 { get; set; } + public global::Mistral.ExecutionConfig? Type519 { get; set; } /// /// /// - public global::Mistral.MCPToolCallRequest? Type520 { get; set; } + public global::Mistral.ImageContent? Type520 { get; set; } /// /// /// - public global::Mistral.MCPToolCallResponse? Type521 { get; set; } + public global::Mistral.MCPResultMetadata? Type521 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type522 { get; set; } + public global::Mistral.MCPToolCallMetadata? Type522 { get; set; } /// /// /// - public global::Mistral.AnyOf? Type523 { get; set; } + public global::Mistral.MCPToolCallRequest? Type523 { get; set; } /// /// /// - public global::Mistral.TextContent? Type524 { get; set; } + public global::Mistral.MCPToolCallResponse? Type524 { get; set; } /// /// /// - public global::Mistral.ResourceLink? Type525 { get; set; } + public global::System.Collections.Generic.IList>? Type525 { get; set; } /// /// /// - public global::Mistral.MessageResponse? Type526 { get; set; } + public global::Mistral.AnyOf? Type526 { get; set; } /// /// /// - public global::Mistral.PaginationResponse? Type527 { get; set; } + public global::Mistral.TextContent? Type527 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type528 { get; set; } + public global::Mistral.ResourceLink? Type528 { get; set; } /// /// /// - public global::Mistral.MCPServerIcon? Type529 { get; set; } + public global::Mistral.MessageResponse? Type529 { get; set; } /// /// /// - public global::Mistral.IntegrationsSchemasTurbineToolLocale? Type530 { get; set; } + public global::Mistral.PaginationResponse? Type530 { get; set; } /// /// /// - public global::Mistral.PaginatedConnectors? Type531 { get; set; } + public global::System.Collections.Generic.IList? Type531 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type532 { get; set; } + public global::Mistral.MCPServerIcon? Type532 { get; set; } /// /// /// - public global::Mistral.CompletionEvent? Type533 { get; set; } + public global::Mistral.IntegrationsSchemasTurbineToolLocale? Type533 { get; set; } /// /// /// - public global::Mistral.CompletionChunk? Type534 { get; set; } + public global::Mistral.PaginatedConnectors? Type534 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type535 { get; set; } + public global::System.Collections.Generic.IList? Type535 { get; set; } /// /// /// - public global::Mistral.CompletionResponseStreamChoice? Type536 { get; set; } + public global::Mistral.CompletionEvent? Type536 { get; set; } /// /// /// - public global::Mistral.DeltaMessage? Type537 { get; set; } + public global::Mistral.CompletionChunk? Type537 { get; set; } /// /// /// - public global::Mistral.CompletionResponseStreamChoiceFinishReason? Type538 { get; set; } + public global::System.Collections.Generic.IList? Type538 { get; set; } /// /// /// - public global::Mistral.ResponseBase? Type539 { get; set; } + public global::Mistral.CompletionResponseStreamChoice? Type539 { get; set; } /// /// /// - public global::Mistral.ChatCompletionChoice? Type540 { get; set; } + public global::Mistral.DeltaMessage? Type540 { get; set; } /// /// /// - public global::Mistral.ChatCompletionChoiceFinishReason? Type541 { get; set; } + public global::Mistral.CompletionResponseStreamChoiceFinishReason? Type541 { get; set; } /// /// /// - public global::Mistral.ChatCompletionResponseBase? Type542 { get; set; } + public global::Mistral.ResponseBase? Type542 { get; set; } /// /// /// - public global::Mistral.ChatCompletionResponseBaseChatCompletionResponseBase1? Type543 { get; set; } + public global::Mistral.ChatCompletionChoice? Type543 { get; set; } /// /// /// - public global::Mistral.ChatCompletionResponse? Type544 { get; set; } + public global::Mistral.ChatCompletionChoiceFinishReason? Type544 { get; set; } /// /// /// - public global::Mistral.ChatCompletionResponseChatCompletionResponse1? Type545 { get; set; } + public global::Mistral.ChatCompletionResponseBase? Type545 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type546 { get; set; } + public global::Mistral.ChatCompletionResponseBaseChatCompletionResponseBase1? Type546 { get; set; } /// /// /// - public global::Mistral.FIMCompletionResponse? Type547 { get; set; } + public global::Mistral.ChatCompletionResponse? Type547 { get; set; } /// /// /// - public global::Mistral.FIMCompletionResponseVariant2? Type548 { get; set; } + public global::Mistral.ChatCompletionResponseChatCompletionResponse1? Type548 { get; set; } /// /// /// - public global::Mistral.EmbeddingResponseData? Type549 { get; set; } + public global::System.Collections.Generic.IList? Type549 { get; set; } /// /// /// - public global::Mistral.EmbeddingResponse? Type550 { get; set; } + public global::Mistral.FIMCompletionResponse? Type550 { get; set; } /// /// /// - public global::Mistral.EmbeddingResponseVariant2? Type551 { get; set; } + public global::Mistral.FIMCompletionResponseVariant2? Type551 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type552 { get; set; } + public global::Mistral.EmbeddingResponseData? Type552 { get; set; } /// /// /// - public global::Mistral.FilesApiRoutesUploadFileRequest? Type553 { get; set; } + public global::Mistral.EmbeddingResponse? Type553 { get; set; } /// /// /// - public global::Mistral.FilesApiRoutesUploadFileRequestVisibility? Type554 { get; set; } + public global::Mistral.EmbeddingResponseVariant2? Type554 { get; set; } /// /// /// - public global::Mistral.LibrariesDocumentsUploadV1Request? Type555 { get; set; } + public global::System.Collections.Generic.IList? Type555 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type556 { get; set; } + public global::Mistral.FilesApiRoutesUploadFileRequest? Type556 { get; set; } /// /// /// - public global::Mistral.AnyOf? Type557 { get; set; } + public global::Mistral.FilesApiRoutesUploadFileRequestVisibility? Type557 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type558 { get; set; } + public global::Mistral.LibrariesDocumentsUploadV1Request? Type558 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type559 { get; set; } + public global::System.Collections.Generic.IList? Type559 { get; set; } /// /// /// - public global::Mistral.JobsApiRoutesFineTuningGetFineTuningJobsStatus2? Type560 { get; set; } + public global::Mistral.AnyOf? Type560 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type561 { get; set; } + public global::System.Collections.Generic.IList? Type561 { get; set; } /// /// /// - public global::Mistral.JobsApiRoutesBatchGetBatchJobsOrderBy? Type562 { get; set; } + public global::System.Collections.Generic.IList? Type562 { get; set; } /// /// /// - public global::Mistral.RetrieveModelV1ModelsModelIdGetResponse? Type563 { get; set; } + public global::Mistral.JobsApiRoutesFineTuningGetFineTuningJobsStatus2? Type563 { get; set; } /// /// /// - public global::Mistral.RetrieveModelV1ModelsModelIdGetResponseDiscriminator? Type564 { get; set; } + public global::System.Collections.Generic.IList? Type564 { get; set; } /// /// /// - public global::Mistral.RetrieveModelV1ModelsModelIdGetResponseDiscriminatorType? Type565 { get; set; } + public global::Mistral.JobsApiRoutesBatchGetBatchJobsOrderBy? Type565 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type566 { get; set; } + public global::Mistral.RetrieveModelV1ModelsModelIdGetResponse? Type566 { get; set; } /// /// /// - public global::Mistral.AnyOf? Type567 { get; set; } + public global::Mistral.RetrieveModelV1ModelsModelIdGetResponseDiscriminator? Type567 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type568 { get; set; } + public global::Mistral.RetrieveModelV1ModelsModelIdGetResponseDiscriminatorType? Type568 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type569 { get; set; } + public global::System.Collections.Generic.IList>? Type569 { get; set; } /// /// /// - public global::Mistral.AnyOf? Type570 { get; set; } + public global::Mistral.AnyOf? Type570 { get; set; } /// /// /// - public global::Mistral.JobsApiRoutesFineTuningCreateFineTuningJobResponseVariant1? Type571 { get; set; } + public global::System.Collections.Generic.IList? Type571 { get; set; } /// /// /// - public global::Mistral.JobsApiRoutesFineTuningCreateFineTuningJobResponseVariant1Discriminator? Type572 { get; set; } + public global::System.Collections.Generic.IList? Type572 { get; set; } /// /// /// - public global::Mistral.JobsApiRoutesFineTuningCreateFineTuningJobResponseVariant1DiscriminatorJobType? Type573 { get; set; } + public global::Mistral.AnyOf? Type573 { get; set; } /// /// /// - public global::Mistral.JobsApiRoutesFineTuningGetFineTuningJobResponse? Type574 { get; set; } + public global::Mistral.JobsApiRoutesFineTuningCreateFineTuningJobResponseVariant1? Type574 { get; set; } /// /// /// - public global::Mistral.JobsApiRoutesFineTuningGetFineTuningJobResponseDiscriminator? Type575 { get; set; } + public global::Mistral.JobsApiRoutesFineTuningCreateFineTuningJobResponseVariant1Discriminator? Type575 { get; set; } /// /// /// - public global::Mistral.JobsApiRoutesFineTuningGetFineTuningJobResponseDiscriminatorJobType? Type576 { get; set; } + public global::Mistral.JobsApiRoutesFineTuningCreateFineTuningJobResponseVariant1DiscriminatorJobType? Type576 { get; set; } /// /// /// - public global::Mistral.JobsApiRoutesFineTuningCancelFineTuningJobResponse? Type577 { get; set; } + public global::Mistral.JobsApiRoutesFineTuningGetFineTuningJobResponse? Type577 { get; set; } /// /// /// - public global::Mistral.JobsApiRoutesFineTuningCancelFineTuningJobResponseDiscriminator? Type578 { get; set; } + public global::Mistral.JobsApiRoutesFineTuningGetFineTuningJobResponseDiscriminator? Type578 { get; set; } /// /// /// - public global::Mistral.JobsApiRoutesFineTuningCancelFineTuningJobResponseDiscriminatorJobType? Type579 { get; set; } + public global::Mistral.JobsApiRoutesFineTuningGetFineTuningJobResponseDiscriminatorJobType? Type579 { get; set; } /// /// /// - public global::Mistral.JobsApiRoutesFineTuningStartFineTuningJobResponse? Type580 { get; set; } + public global::Mistral.JobsApiRoutesFineTuningCancelFineTuningJobResponse? Type580 { get; set; } /// /// /// - public global::Mistral.JobsApiRoutesFineTuningStartFineTuningJobResponseDiscriminator? Type581 { get; set; } + public global::Mistral.JobsApiRoutesFineTuningCancelFineTuningJobResponseDiscriminator? Type581 { get; set; } /// /// /// - public global::Mistral.JobsApiRoutesFineTuningStartFineTuningJobResponseDiscriminatorJobType? Type582 { get; set; } + public global::Mistral.JobsApiRoutesFineTuningCancelFineTuningJobResponseDiscriminatorJobType? Type582 { get; set; } /// /// /// - public global::Mistral.JobsApiRoutesFineTuningUpdateFineTunedModelResponse? Type583 { get; set; } + public global::Mistral.JobsApiRoutesFineTuningStartFineTuningJobResponse? Type583 { get; set; } /// /// /// - public global::Mistral.JobsApiRoutesFineTuningUpdateFineTunedModelResponseDiscriminator? Type584 { get; set; } + public global::Mistral.JobsApiRoutesFineTuningStartFineTuningJobResponseDiscriminator? Type584 { get; set; } /// /// /// - public global::Mistral.JobsApiRoutesFineTuningUpdateFineTunedModelResponseDiscriminatorModelType? Type585 { get; set; } + public global::Mistral.JobsApiRoutesFineTuningStartFineTuningJobResponseDiscriminatorJobType? Type585 { get; set; } + /// + /// + /// + public global::Mistral.JobsApiRoutesFineTuningUpdateFineTunedModelResponse? Type586 { get; set; } + /// + /// + /// + public global::Mistral.JobsApiRoutesFineTuningUpdateFineTunedModelResponseDiscriminator? Type587 { get; set; } + /// + /// + /// + public global::Mistral.JobsApiRoutesFineTuningUpdateFineTunedModelResponseDiscriminatorModelType? Type588 { get; set; } /// /// diff --git a/src/libs/Mistral/Generated/Mistral.MistralClient.g.cs b/src/libs/Mistral/Generated/Mistral.MistralClient.g.cs index eb83f71..4adf609 100644 --- a/src/libs/Mistral/Generated/Mistral.MistralClient.g.cs +++ b/src/libs/Mistral/Generated/Mistral.MistralClient.g.cs @@ -91,6 +91,15 @@ public sealed partial class MistralClient : global::Mistral.IMistralClient, glob JsonSerializerContext = JsonSerializerContext, }; + /// + /// (deprecated) Agents completion API + /// + public DeprecatedAgentsClient DeprecatedAgents => new DeprecatedAgentsClient(HttpClient, authorizations: Authorizations) + { + ReadResponseAsString = ReadResponseAsString, + JsonSerializerContext = JsonSerializerContext, + }; + /// /// (deprecated) Fine-tuning API /// diff --git a/src/libs/Mistral/Generated/Mistral.Models.AgentsCompletionRequest.g.cs b/src/libs/Mistral/Generated/Mistral.Models.AgentsCompletionRequest.g.cs index 1cde0e3..d5dab0b 100644 --- a/src/libs/Mistral/Generated/Mistral.Models.AgentsCompletionRequest.g.cs +++ b/src/libs/Mistral/Generated/Mistral.Models.AgentsCompletionRequest.g.cs @@ -102,11 +102,18 @@ public sealed partial class AgentsCompletionRequest public bool? ParallelToolCalls { get; set; } /// - /// Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used. + /// Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used. **Deprecated for reasoning models - use `reasoning_effort` parameter instead.** /// [global::System.Text.Json.Serialization.JsonPropertyName("prompt_mode")] public global::Mistral.MistralPromptMode? PromptMode { get; set; } + /// + /// Controls the reasoning effort level for reasoning models. "high" enables comprehensive reasoning traces, "none" disables reasoning effort. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("reasoning_effort")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Mistral.JsonConverters.AgentsCompletionRequestReasoningEffortJsonConverter))] + public global::Mistral.AgentsCompletionRequestReasoningEffort? ReasoningEffort { get; set; } + /// /// The ID of the agent to use for this completion. /// @@ -166,7 +173,10 @@ public sealed partial class AgentsCompletionRequest /// Default Value: true /// /// - /// Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used. + /// Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used. **Deprecated for reasoning models - use `reasoning_effort` parameter instead.** + /// + /// + /// Controls the reasoning effort level for reasoning models. "high" enables comprehensive reasoning traces, "none" disables reasoning effort. /// /// /// The ID of the agent to use for this completion. @@ -190,7 +200,8 @@ public AgentsCompletionRequest( int? n, global::Mistral.Prediction? prediction, bool? parallelToolCalls, - global::Mistral.MistralPromptMode? promptMode) + global::Mistral.MistralPromptMode? promptMode, + global::Mistral.AgentsCompletionRequestReasoningEffort? reasoningEffort) { this.Messages = messages ?? throw new global::System.ArgumentNullException(nameof(messages)); this.AgentId = agentId ?? throw new global::System.ArgumentNullException(nameof(agentId)); @@ -208,6 +219,7 @@ public AgentsCompletionRequest( this.Prediction = prediction; this.ParallelToolCalls = parallelToolCalls; this.PromptMode = promptMode; + this.ReasoningEffort = reasoningEffort; } /// diff --git a/src/libs/Mistral/Generated/Mistral.Models.AgentsCompletionRequestPromptMode.g.cs b/src/libs/Mistral/Generated/Mistral.Models.AgentsCompletionRequestPromptMode.g.cs index eb0fae0..d1913c9 100644 --- a/src/libs/Mistral/Generated/Mistral.Models.AgentsCompletionRequestPromptMode.g.cs +++ b/src/libs/Mistral/Generated/Mistral.Models.AgentsCompletionRequestPromptMode.g.cs @@ -4,7 +4,7 @@ namespace Mistral { /// - /// Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used. + /// Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used. **Deprecated for reasoning models - use `reasoning_effort` parameter instead.** /// public sealed partial class AgentsCompletionRequestPromptMode { diff --git a/src/libs/Mistral/Generated/Mistral.Models.AgentsCompletionRequestReasoningEffort.g.cs b/src/libs/Mistral/Generated/Mistral.Models.AgentsCompletionRequestReasoningEffort.g.cs new file mode 100644 index 0000000..d4637d3 --- /dev/null +++ b/src/libs/Mistral/Generated/Mistral.Models.AgentsCompletionRequestReasoningEffort.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace Mistral +{ + /// + /// Controls the reasoning effort level for reasoning models. "high" enables comprehensive reasoning traces, "none" disables reasoning effort. + /// + public enum AgentsCompletionRequestReasoningEffort + { + /// + /// + /// + High, + /// + /// + /// + None, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AgentsCompletionRequestReasoningEffortExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AgentsCompletionRequestReasoningEffort value) + { + return value switch + { + AgentsCompletionRequestReasoningEffort.High => "high", + AgentsCompletionRequestReasoningEffort.None => "none", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AgentsCompletionRequestReasoningEffort? ToEnum(string value) + { + return value switch + { + "high" => AgentsCompletionRequestReasoningEffort.High, + "none" => AgentsCompletionRequestReasoningEffort.None, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Mistral/Generated/Mistral.Models.ChatCompletionRequest.g.cs b/src/libs/Mistral/Generated/Mistral.Models.ChatCompletionRequest.g.cs index 6ca95f7..1a72da9 100644 --- a/src/libs/Mistral/Generated/Mistral.Models.ChatCompletionRequest.g.cs +++ b/src/libs/Mistral/Generated/Mistral.Models.ChatCompletionRequest.g.cs @@ -124,11 +124,18 @@ public sealed partial class ChatCompletionRequest public bool? ParallelToolCalls { get; set; } /// - /// Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used. + /// Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used. **Deprecated for reasoning models - use `reasoning_effort` parameter instead.** /// [global::System.Text.Json.Serialization.JsonPropertyName("prompt_mode")] public global::Mistral.MistralPromptMode? PromptMode { get; set; } + /// + /// Controls the reasoning effort level for reasoning models. "high" enables comprehensive reasoning traces, "none" disables reasoning effort. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("reasoning_effort")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Mistral.JsonConverters.ChatCompletionRequestReasoningEffortJsonConverter))] + public global::Mistral.ChatCompletionRequestReasoningEffort? ReasoningEffort { get; set; } + /// /// A list of guardrail configurations to apply to this request. Each guardrail specifies a moderation type, categories with thresholds to evaluate, and an action to take on violation.
/// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464 @@ -209,7 +216,10 @@ public sealed partial class ChatCompletionRequest /// Default Value: true /// /// - /// Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used. + /// Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used. **Deprecated for reasoning models - use `reasoning_effort` parameter instead.** + /// + /// + /// Controls the reasoning effort level for reasoning models. "high" enables comprehensive reasoning traces, "none" disables reasoning effort. /// /// /// A list of guardrail configurations to apply to this request. Each guardrail specifies a moderation type, categories with thresholds to evaluate, and an action to take on violation.
@@ -241,6 +251,7 @@ public ChatCompletionRequest( global::Mistral.Prediction? prediction, bool? parallelToolCalls, global::Mistral.MistralPromptMode? promptMode, + global::Mistral.ChatCompletionRequestReasoningEffort? reasoningEffort, global::System.Collections.Generic.IList? guardrails, bool? safePrompt) { @@ -262,6 +273,7 @@ public ChatCompletionRequest( this.Prediction = prediction; this.ParallelToolCalls = parallelToolCalls; this.PromptMode = promptMode; + this.ReasoningEffort = reasoningEffort; this.Guardrails = guardrails; this.SafePrompt = safePrompt; } diff --git a/src/libs/Mistral/Generated/Mistral.Models.ChatCompletionRequestPromptMode.g.cs b/src/libs/Mistral/Generated/Mistral.Models.ChatCompletionRequestPromptMode.g.cs index 1cbf181..b8508e6 100644 --- a/src/libs/Mistral/Generated/Mistral.Models.ChatCompletionRequestPromptMode.g.cs +++ b/src/libs/Mistral/Generated/Mistral.Models.ChatCompletionRequestPromptMode.g.cs @@ -4,7 +4,7 @@ namespace Mistral { /// - /// Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used. + /// Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used. **Deprecated for reasoning models - use `reasoning_effort` parameter instead.** /// public sealed partial class ChatCompletionRequestPromptMode { diff --git a/src/libs/Mistral/Generated/Mistral.Models.ChatCompletionRequestReasoningEffort.g.cs b/src/libs/Mistral/Generated/Mistral.Models.ChatCompletionRequestReasoningEffort.g.cs new file mode 100644 index 0000000..1319dd6 --- /dev/null +++ b/src/libs/Mistral/Generated/Mistral.Models.ChatCompletionRequestReasoningEffort.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace Mistral +{ + /// + /// Controls the reasoning effort level for reasoning models. "high" enables comprehensive reasoning traces, "none" disables reasoning effort. + /// + public enum ChatCompletionRequestReasoningEffort + { + /// + /// + /// + High, + /// + /// + /// + None, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ChatCompletionRequestReasoningEffortExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ChatCompletionRequestReasoningEffort value) + { + return value switch + { + ChatCompletionRequestReasoningEffort.High => "high", + ChatCompletionRequestReasoningEffort.None => "none", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ChatCompletionRequestReasoningEffort? ToEnum(string value) + { + return value switch + { + "high" => ChatCompletionRequestReasoningEffort.High, + "none" => ChatCompletionRequestReasoningEffort.None, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Mistral/Generated/Mistral.Models.CompletionArgs.g.cs b/src/libs/Mistral/Generated/Mistral.Models.CompletionArgs.g.cs index 905e3ce..e178608 100644 --- a/src/libs/Mistral/Generated/Mistral.Models.CompletionArgs.g.cs +++ b/src/libs/Mistral/Generated/Mistral.Models.CompletionArgs.g.cs @@ -70,6 +70,12 @@ public sealed partial class CompletionArgs [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Mistral.JsonConverters.ToolChoiceEnumJsonConverter))] public global::Mistral.ToolChoiceEnum? ToolChoice { get; set; } + /// + /// Controls the reasoning effort level for reasoning models. "high" enables comprehensive reasoning traces, "none" disables reasoning effort. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("reasoning_effort")] + public global::Mistral.CompletionArgsReasoningEffort2? ReasoningEffort { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -91,6 +97,9 @@ public sealed partial class CompletionArgs /// /// Default Value: auto /// + /// + /// Controls the reasoning effort level for reasoning models. "high" enables comprehensive reasoning traces, "none" disables reasoning effort. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -104,7 +113,8 @@ public CompletionArgs( int? randomSeed, global::Mistral.Prediction? prediction, global::Mistral.ResponseFormat? responseFormat, - global::Mistral.ToolChoiceEnum? toolChoice) + global::Mistral.ToolChoiceEnum? toolChoice, + global::Mistral.CompletionArgsReasoningEffort2? reasoningEffort) { this.Stop = stop; this.PresencePenalty = presencePenalty; @@ -116,6 +126,7 @@ public CompletionArgs( this.Prediction = prediction; this.ResponseFormat = responseFormat; this.ToolChoice = toolChoice; + this.ReasoningEffort = reasoningEffort; } /// diff --git a/src/libs/Mistral/Generated/Mistral.Models.CompletionArgsReasoningEffort.Json.g.cs b/src/libs/Mistral/Generated/Mistral.Models.CompletionArgsReasoningEffort.Json.g.cs new file mode 100644 index 0000000..61c0d56 --- /dev/null +++ b/src/libs/Mistral/Generated/Mistral.Models.CompletionArgsReasoningEffort.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Mistral +{ + public sealed partial class CompletionArgsReasoningEffort + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Mistral.CompletionArgsReasoningEffort? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Mistral.CompletionArgsReasoningEffort), + jsonSerializerContext) as global::Mistral.CompletionArgsReasoningEffort; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Mistral.CompletionArgsReasoningEffort? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Mistral.CompletionArgsReasoningEffort), + jsonSerializerContext).ConfigureAwait(false)) as global::Mistral.CompletionArgsReasoningEffort; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Mistral/Generated/Mistral.Models.CompletionArgsReasoningEffort.g.cs b/src/libs/Mistral/Generated/Mistral.Models.CompletionArgsReasoningEffort.g.cs new file mode 100644 index 0000000..3c2b513 --- /dev/null +++ b/src/libs/Mistral/Generated/Mistral.Models.CompletionArgsReasoningEffort.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace Mistral +{ + /// + /// Controls the reasoning effort level for reasoning models. "high" enables comprehensive reasoning traces, "none" disables reasoning effort. + /// + public sealed partial class CompletionArgsReasoningEffort + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/Mistral/Generated/Mistral.Models.CompletionArgsReasoningEffort2.g.cs b/src/libs/Mistral/Generated/Mistral.Models.CompletionArgsReasoningEffort2.g.cs new file mode 100644 index 0000000..50fe74a --- /dev/null +++ b/src/libs/Mistral/Generated/Mistral.Models.CompletionArgsReasoningEffort2.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace Mistral +{ + /// + /// + /// + public enum CompletionArgsReasoningEffort2 + { + /// + /// + /// + High, + /// + /// + /// + None, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CompletionArgsReasoningEffort2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CompletionArgsReasoningEffort2 value) + { + return value switch + { + CompletionArgsReasoningEffort2.High => "high", + CompletionArgsReasoningEffort2.None => "none", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CompletionArgsReasoningEffort2? ToEnum(string value) + { + return value switch + { + "high" => CompletionArgsReasoningEffort2.High, + "none" => CompletionArgsReasoningEffort2.None, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Mistral/openapi.yaml b/src/libs/Mistral/openapi.yaml index c8aa746..bb6f54e 100644 --- a/src/libs/Mistral/openapi.yaml +++ b/src/libs/Mistral/openapi.yaml @@ -1815,8 +1815,9 @@ paths: post: operationId: agents_completion_v1_agents_completions_post summary: Agents Completion + deprecated: true tags: - - agents + - deprecated.agents requestBody: content: application/json: @@ -3643,6 +3644,14 @@ components: tool_choice: $ref: '#/components/schemas/ToolChoiceEnum' default: auto + reasoning_effort: + anyOf: + - type: string + enum: + - high + - none + - type: 'null' + description: Controls the reasoning effort level for reasoning models. "high" enables comprehensive reasoning traces, "none" disables reasoning effort. title: CompletionArgs additionalProperties: false description: White-listed arguments from the completion API @@ -7613,7 +7622,13 @@ components: anyOf: - $ref: '#/components/schemas/MistralPromptMode' - type: 'null' - description: Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used. + description: Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used. **Deprecated for reasoning models - use `reasoning_effort` parameter instead.** + reasoning_effort: + type: string + enum: + - high + - none + description: Controls the reasoning effort level for reasoning models. "high" enables comprehensive reasoning traces, "none" disables reasoning effort. guardrails: anyOf: - type: array @@ -8923,7 +8938,13 @@ components: anyOf: - $ref: '#/components/schemas/MistralPromptMode' - type: 'null' - description: Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used. + description: Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used. **Deprecated for reasoning models - use `reasoning_effort` parameter instead.** + reasoning_effort: + type: string + enum: + - high + - none + description: Controls the reasoning effort level for reasoning models. "high" enables comprehensive reasoning traces, "none" disables reasoning effort. agent_id: type: string description: The ID of the agent to use for this completion. @@ -11732,6 +11753,9 @@ tags: - name: files x-displayName: Files description: Files API + - name: deprecated.agents + x-displayName: (deprecated) Agents + description: (deprecated) Agents completion API - name: deprecated.fine-tuning x-displayName: (deprecated) Fine Tuning description: (deprecated) Fine-tuning API