From c9da0e67ded17fbefe8db4294fb37d436945eee1 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 11 Oct 2024 03:27:59 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../Generated/JsonSerializerContextTypes.g.cs | 70 +++++++++---------- .../Ollama.Models.ToolCallFunction.g.cs | 2 +- .../Generated/Ollama.Models.ToolFunction.g.cs | 2 +- 3 files changed, 35 insertions(+), 39 deletions(-) diff --git a/src/libs/Ollama/Generated/JsonSerializerContextTypes.g.cs b/src/libs/Ollama/Generated/JsonSerializerContextTypes.g.cs index 9fde81e..aad4b78 100644 --- a/src/libs/Ollama/Generated/JsonSerializerContextTypes.g.cs +++ b/src/libs/Ollama/Generated/JsonSerializerContextTypes.g.cs @@ -98,7 +98,7 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::Ollama.ToolCallFunctionArgs? Type20 { get; set; } + public object? Type20 { get; set; } /// /// /// @@ -118,134 +118,130 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::Ollama.ToolFunctionParams? Type25 { get; set; } + public global::Ollama.GenerateChatCompletionResponse? Type25 { get; set; } /// /// /// - public global::Ollama.GenerateChatCompletionResponse? Type26 { get; set; } + public global::Ollama.DoneReason? Type26 { get; set; } /// /// /// - public global::Ollama.DoneReason? Type27 { get; set; } + public global::Ollama.DoneReasonEnum? Type27 { get; set; } /// /// /// - public global::Ollama.DoneReasonEnum? Type28 { get; set; } + public global::Ollama.GenerateEmbeddingRequest? Type28 { get; set; } /// /// /// - public global::Ollama.GenerateEmbeddingRequest? Type29 { get; set; } + public global::Ollama.GenerateEmbeddingResponse? Type29 { get; set; } /// /// /// - public global::Ollama.GenerateEmbeddingResponse? Type30 { get; set; } + public global::System.Collections.Generic.IList? Type30 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type31 { get; set; } + public double? Type31 { get; set; } /// /// /// - public double? Type32 { get; set; } + public global::Ollama.CreateModelRequest? Type32 { get; set; } /// /// /// - public global::Ollama.CreateModelRequest? Type33 { get; set; } + public global::Ollama.CreateModelResponse? Type33 { get; set; } /// /// /// - public global::Ollama.CreateModelResponse? Type34 { get; set; } + public global::Ollama.CreateModelStatus? Type34 { get; set; } /// /// /// - public global::Ollama.CreateModelStatus? Type35 { get; set; } + public global::Ollama.CreateModelStatusEnum? Type35 { get; set; } /// /// /// - public global::Ollama.CreateModelStatusEnum? Type36 { get; set; } + public global::Ollama.ModelsResponse? Type36 { get; set; } /// /// /// - public global::Ollama.ModelsResponse? Type37 { get; set; } + public global::System.Collections.Generic.IList? Type37 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type38 { get; set; } + public global::Ollama.Model? Type38 { get; set; } /// /// /// - public global::Ollama.Model? Type39 { get; set; } + public global::Ollama.ModelDetails? Type39 { get; set; } /// /// /// - public global::Ollama.ModelDetails? Type40 { get; set; } + public global::Ollama.ModelInformation? Type40 { get; set; } /// /// /// - public global::Ollama.ModelInformation? Type41 { get; set; } + public global::Ollama.ProcessResponse? Type41 { get; set; } /// /// /// - public global::Ollama.ProcessResponse? Type42 { get; set; } + public global::System.Collections.Generic.IList? Type42 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type43 { get; set; } + public global::Ollama.ProcessModel? Type43 { get; set; } /// /// /// - public global::Ollama.ProcessModel? Type44 { get; set; } + public global::Ollama.ModelInfoRequest? Type44 { get; set; } /// /// /// - public global::Ollama.ModelInfoRequest? Type45 { get; set; } + public global::Ollama.ModelInfo? Type45 { get; set; } /// /// /// - public global::Ollama.ModelInfo? Type46 { get; set; } + public global::Ollama.CopyModelRequest? Type46 { get; set; } /// /// /// - public global::Ollama.CopyModelRequest? Type47 { get; set; } + public global::Ollama.DeleteModelRequest? Type47 { get; set; } /// /// /// - public global::Ollama.DeleteModelRequest? Type48 { get; set; } + public global::Ollama.PullModelRequest? Type48 { get; set; } /// /// /// - public global::Ollama.PullModelRequest? Type49 { get; set; } + public global::Ollama.PullModelResponse? Type49 { get; set; } /// /// /// - public global::Ollama.PullModelResponse? Type50 { get; set; } + public global::Ollama.PullModelStatus? Type50 { get; set; } /// /// /// - public global::Ollama.PullModelStatus? Type51 { get; set; } + public global::Ollama.PullModelStatusEnum? Type51 { get; set; } /// /// /// - public global::Ollama.PullModelStatusEnum? Type52 { get; set; } + public global::Ollama.PushModelRequest? Type52 { get; set; } /// /// /// - public global::Ollama.PushModelRequest? Type53 { get; set; } + public global::Ollama.PushModelResponse? Type53 { get; set; } /// /// /// - public global::Ollama.PushModelResponse? Type54 { get; set; } + public global::Ollama.AnyOf? Type54 { get; set; } /// /// /// - public global::Ollama.AnyOf? Type55 { get; set; } + public global::Ollama.PushModelResponseStatus? Type55 { get; set; } /// /// /// - public global::Ollama.PushModelResponseStatus? Type56 { get; set; } - /// - /// - /// - public byte[]? Type57 { get; set; } + public byte[]? Type56 { get; set; } } } \ No newline at end of file diff --git a/src/libs/Ollama/Generated/Ollama.Models.ToolCallFunction.g.cs b/src/libs/Ollama/Generated/Ollama.Models.ToolCallFunction.g.cs index 7be9a20..e22bf14 100644 --- a/src/libs/Ollama/Generated/Ollama.Models.ToolCallFunction.g.cs +++ b/src/libs/Ollama/Generated/Ollama.Models.ToolCallFunction.g.cs @@ -20,7 +20,7 @@ public sealed partial class ToolCallFunction /// [global::System.Text.Json.Serialization.JsonPropertyName("arguments")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::Ollama.ToolCallFunctionArgs Arguments { get; set; } + public required object Arguments { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/Ollama/Generated/Ollama.Models.ToolFunction.g.cs b/src/libs/Ollama/Generated/Ollama.Models.ToolFunction.g.cs index e2b60c1..e192f4c 100644 --- a/src/libs/Ollama/Generated/Ollama.Models.ToolFunction.g.cs +++ b/src/libs/Ollama/Generated/Ollama.Models.ToolFunction.g.cs @@ -27,7 +27,7 @@ public sealed partial class ToolFunction /// [global::System.Text.Json.Serialization.JsonPropertyName("parameters")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::Ollama.ToolFunctionParams Parameters { get; set; } + public required object Parameters { get; set; } /// /// Additional properties that are not explicitly defined in the schema