From 50d5b7fcd401382fdbce94736a0872af559cd26b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 24 Jun 2026 04:06:24 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../OpenRouter.Models.BYOKProviderSlug.g.cs | 6 + ...uter.Models.ByokGetParametersProvider.g.cs | 6 + ...nRouter.Models.FusionServerToolConfig.g.cs | 4 +- ...ImageGenerationRequestProviderOptions.g.cs | 9 ++ ...onRequestProviderOptionsSakanaAi.Json.g.cs | 141 ++++++++++++++++++ ...erationRequestProviderOptionsSakanaAi.g.cs | 19 +++ ...nRequestProviderOptionsSakanaAi2.Json.g.cs | 141 ++++++++++++++++++ ...rationRequestProviderOptionsSakanaAi2.g.cs | 19 +++ .../OpenRouter.Models.ProviderName.g.cs | 6 + .../OpenRouter.Models.ProviderOptions.g.cs | 9 ++ ...r.Models.ProviderOptionsSakanaAi.Json.g.cs | 141 ++++++++++++++++++ ...Router.Models.ProviderOptionsSakanaAi.g.cs | 19 +++ ....Models.ProviderOptionsSakanaAi2.Json.g.cs | 141 ++++++++++++++++++ ...outer.Models.ProviderOptionsSakanaAi2.g.cs | 19 +++ ...r.Models.ProviderResponseProviderName.g.cs | 6 + ...VideoGenerationRequestProviderOptions.g.cs | 9 ++ ...onRequestProviderOptionsSakanaAi.Json.g.cs | 141 ++++++++++++++++++ ...erationRequestProviderOptionsSakanaAi.g.cs | 19 +++ ...nRequestProviderOptionsSakanaAi2.Json.g.cs | 141 ++++++++++++++++++ ...rationRequestProviderOptionsSakanaAi2.g.cs | 19 +++ src/libs/OpenRouter/openapi.yaml | 24 ++- 21 files changed, 1036 insertions(+), 3 deletions(-) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptionsSakanaAi.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptionsSakanaAi.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptionsSakanaAi2.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptionsSakanaAi2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsSakanaAi.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsSakanaAi.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsSakanaAi2.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsSakanaAi2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsSakanaAi.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsSakanaAi.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsSakanaAi2.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsSakanaAi2.g.cs diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.BYOKProviderSlug.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.BYOKProviderSlug.g.cs index ed2d933d..1996dbe4 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.BYOKProviderSlug.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.BYOKProviderSlug.g.cs @@ -283,6 +283,10 @@ public enum BYOKProviderSlug /// /// /// + SakanaAi, + /// + /// + /// Sambanova, /// /// @@ -426,6 +430,7 @@ public static string ToValueString(this BYOKProviderSlug value) BYOKProviderSlug.Recraft => "recraft", BYOKProviderSlug.Reka => "reka", BYOKProviderSlug.Relace => "relace", + BYOKProviderSlug.SakanaAi => "sakana-ai", BYOKProviderSlug.Sambanova => "sambanova", BYOKProviderSlug.Seed => "seed", BYOKProviderSlug.Siliconflow => "siliconflow", @@ -520,6 +525,7 @@ public static string ToValueString(this BYOKProviderSlug value) "recraft" => BYOKProviderSlug.Recraft, "reka" => BYOKProviderSlug.Reka, "relace" => BYOKProviderSlug.Relace, + "sakana-ai" => BYOKProviderSlug.SakanaAi, "sambanova" => BYOKProviderSlug.Sambanova, "seed" => BYOKProviderSlug.Seed, "siliconflow" => BYOKProviderSlug.Siliconflow, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ByokGetParametersProvider.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ByokGetParametersProvider.g.cs index d9e71d2f..ffcfba5e 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ByokGetParametersProvider.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ByokGetParametersProvider.g.cs @@ -283,6 +283,10 @@ public enum ByokGetParametersProvider /// /// /// + SakanaAi, + /// + /// + /// Sambanova, /// /// @@ -426,6 +430,7 @@ public static string ToValueString(this ByokGetParametersProvider value) ByokGetParametersProvider.Recraft => "recraft", ByokGetParametersProvider.Reka => "reka", ByokGetParametersProvider.Relace => "relace", + ByokGetParametersProvider.SakanaAi => "sakana-ai", ByokGetParametersProvider.Sambanova => "sambanova", ByokGetParametersProvider.Seed => "seed", ByokGetParametersProvider.Siliconflow => "siliconflow", @@ -520,6 +525,7 @@ public static string ToValueString(this ByokGetParametersProvider value) "recraft" => ByokGetParametersProvider.Recraft, "reka" => ByokGetParametersProvider.Reka, "relace" => ByokGetParametersProvider.Relace, + "sakana-ai" => ByokGetParametersProvider.SakanaAi, "sambanova" => ByokGetParametersProvider.Sambanova, "seed" => ByokGetParametersProvider.Seed, "siliconflow" => ByokGetParametersProvider.Siliconflow, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.FusionServerToolConfig.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.FusionServerToolConfig.g.cs index c01893b1..bbc812ef 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.FusionServerToolConfig.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.FusionServerToolConfig.g.cs @@ -45,7 +45,7 @@ public sealed partial class FusionServerToolConfig public global::OpenRouter.FusionServerToolConfigReasoning? Reasoning { get; set; } /// - /// Sampling temperature forwarded to panelist and judge inner calls. When omitted, the provider's default applies. + /// Temperature forwarded to panelist inner calls. The judge always runs at temperature 0 regardless of this value. When omitted, the provider's default applies. /// [global::System.Text.Json.Serialization.JsonPropertyName("temperature")] public double? Temperature { get; set; } @@ -84,7 +84,7 @@ public sealed partial class FusionServerToolConfig /// Reasoning configuration forwarded to panelist and judge inner calls. Use this to control reasoning effort and token budget for models that support extended thinking. /// /// - /// Sampling temperature forwarded to panelist and judge inner calls. When omitted, the provider's default applies. + /// Temperature forwarded to panelist inner calls. The judge always runs at temperature 0 regardless of this value. When omitted, the provider's default applies. /// /// /// Server tools available to panelist and judge inner calls. Each entry uses the same `{ type, parameters? }` shorthand as the outer Chat Completions request. When omitted, defaults to `[{ type: "openrouter:web_search" }, { type: "openrouter:web_fetch" }]`. Pass an empty array to disable tools entirely (panelists answer from parametric knowledge only). diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptions.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptions.g.cs index 290327ab..85af6a4b 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptions.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptions.g.cs @@ -572,6 +572,12 @@ public sealed partial class ImageGenerationRequestProviderOptions [global::System.Text.Json.Serialization.JsonPropertyName("replicate")] public object? Replicate { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sakana-ai")] + public object? SakanaAi { get; set; } + /// /// /// @@ -807,6 +813,7 @@ public sealed partial class ImageGenerationRequestProviderOptions /// /// /// + /// /// /// /// @@ -927,6 +934,7 @@ public ImageGenerationRequestProviderOptions( object? reka, object? relace, object? replicate, + object? sakanaAi, object? sambanova, object? sambanovaCloaked, object? seed, @@ -1044,6 +1052,7 @@ public ImageGenerationRequestProviderOptions( this.Reka = reka; this.Relace = relace; this.Replicate = replicate; + this.SakanaAi = sakanaAi; this.Sambanova = sambanova; this.SambanovaCloaked = sambanovaCloaked; this.Seed = seed; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptionsSakanaAi.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptionsSakanaAi.Json.g.cs new file mode 100644 index 00000000..079a52ae --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptionsSakanaAi.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ImageGenerationRequestProviderOptionsSakanaAi + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ImageGenerationRequestProviderOptionsSakanaAi? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ImageGenerationRequestProviderOptionsSakanaAi), + jsonSerializerContext) as global::OpenRouter.ImageGenerationRequestProviderOptionsSakanaAi; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ImageGenerationRequestProviderOptionsSakanaAi? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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::OpenRouter.ImageGenerationRequestProviderOptionsSakanaAi? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + 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::OpenRouter.ImageGenerationRequestProviderOptionsSakanaAi), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ImageGenerationRequestProviderOptionsSakanaAi; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptionsSakanaAi.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptionsSakanaAi.g.cs new file mode 100644 index 00000000..69a48eda --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptionsSakanaAi.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ImageGenerationRequestProviderOptionsSakanaAi + { + + /// + /// 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/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptionsSakanaAi2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptionsSakanaAi2.Json.g.cs new file mode 100644 index 00000000..fd8b0012 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptionsSakanaAi2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ImageGenerationRequestProviderOptionsSakanaAi2 + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ImageGenerationRequestProviderOptionsSakanaAi2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ImageGenerationRequestProviderOptionsSakanaAi2), + jsonSerializerContext) as global::OpenRouter.ImageGenerationRequestProviderOptionsSakanaAi2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ImageGenerationRequestProviderOptionsSakanaAi2? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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::OpenRouter.ImageGenerationRequestProviderOptionsSakanaAi2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + 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::OpenRouter.ImageGenerationRequestProviderOptionsSakanaAi2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ImageGenerationRequestProviderOptionsSakanaAi2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptionsSakanaAi2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptionsSakanaAi2.g.cs new file mode 100644 index 00000000..d5a113f3 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ImageGenerationRequestProviderOptionsSakanaAi2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class ImageGenerationRequestProviderOptionsSakanaAi2 + { + + /// + /// 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/OpenRouter/Generated/OpenRouter.Models.ProviderName.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderName.g.cs index 4f9046fa..0acb636d 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderName.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderName.g.cs @@ -291,6 +291,10 @@ public enum ProviderName /// /// /// + SakanaAi, + /// + /// + /// SambaNova, /// /// @@ -440,6 +444,7 @@ public static string ToValueString(this ProviderName value) ProviderName.Recraft => "Recraft", ProviderName.Reka => "Reka", ProviderName.Relace => "Relace", + ProviderName.SakanaAi => "Sakana AI", ProviderName.SambaNova => "SambaNova", ProviderName.Seed => "Seed", ProviderName.SiliconFlow => "SiliconFlow", @@ -537,6 +542,7 @@ public static string ToValueString(this ProviderName value) "Recraft" => ProviderName.Recraft, "Reka" => ProviderName.Reka, "Relace" => ProviderName.Relace, + "Sakana AI" => ProviderName.SakanaAi, "SambaNova" => ProviderName.SambaNova, "Seed" => ProviderName.Seed, "SiliconFlow" => ProviderName.SiliconFlow, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptions.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptions.g.cs index 2136986d..6df6c0ed 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptions.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptions.g.cs @@ -572,6 +572,12 @@ public sealed partial class ProviderOptions [global::System.Text.Json.Serialization.JsonPropertyName("replicate")] public object? Replicate { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sakana-ai")] + public object? SakanaAi { get; set; } + /// /// /// @@ -807,6 +813,7 @@ public sealed partial class ProviderOptions /// /// /// + /// /// /// /// @@ -927,6 +934,7 @@ public ProviderOptions( object? reka, object? relace, object? replicate, + object? sakanaAi, object? sambanova, object? sambanovaCloaked, object? seed, @@ -1044,6 +1052,7 @@ public ProviderOptions( this.Reka = reka; this.Relace = relace; this.Replicate = replicate; + this.SakanaAi = sakanaAi; this.Sambanova = sambanova; this.SambanovaCloaked = sambanovaCloaked; this.Seed = seed; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsSakanaAi.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsSakanaAi.Json.g.cs new file mode 100644 index 00000000..35218b1f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsSakanaAi.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ProviderOptionsSakanaAi + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ProviderOptionsSakanaAi? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ProviderOptionsSakanaAi), + jsonSerializerContext) as global::OpenRouter.ProviderOptionsSakanaAi; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ProviderOptionsSakanaAi? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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::OpenRouter.ProviderOptionsSakanaAi? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + 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::OpenRouter.ProviderOptionsSakanaAi), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ProviderOptionsSakanaAi; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsSakanaAi.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsSakanaAi.g.cs new file mode 100644 index 00000000..30703338 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsSakanaAi.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ProviderOptionsSakanaAi + { + + /// + /// 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/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsSakanaAi2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsSakanaAi2.Json.g.cs new file mode 100644 index 00000000..47620fc5 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsSakanaAi2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ProviderOptionsSakanaAi2 + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ProviderOptionsSakanaAi2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ProviderOptionsSakanaAi2), + jsonSerializerContext) as global::OpenRouter.ProviderOptionsSakanaAi2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ProviderOptionsSakanaAi2? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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::OpenRouter.ProviderOptionsSakanaAi2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + 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::OpenRouter.ProviderOptionsSakanaAi2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ProviderOptionsSakanaAi2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsSakanaAi2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsSakanaAi2.g.cs new file mode 100644 index 00000000..ab1d81e6 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderOptionsSakanaAi2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class ProviderOptionsSakanaAi2 + { + + /// + /// 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/OpenRouter/Generated/OpenRouter.Models.ProviderResponseProviderName.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderResponseProviderName.g.cs index dd6263d8..76a98c48 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderResponseProviderName.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ProviderResponseProviderName.g.cs @@ -391,6 +391,10 @@ public enum ProviderResponseProviderName /// /// /// + SakanaAi, + /// + /// + /// SambaNova, /// /// @@ -581,6 +585,7 @@ public static string ToValueString(this ProviderResponseProviderName value) ProviderResponseProviderName.Relace => "Relace", ProviderResponseProviderName.Replicate => "Replicate", ProviderResponseProviderName.SfCompute => "SF Compute", + ProviderResponseProviderName.SakanaAi => "Sakana AI", ProviderResponseProviderName.SambaNova => "SambaNova", ProviderResponseProviderName.SambaNova2 => "SambaNova 2", ProviderResponseProviderName.Seed => "Seed", @@ -707,6 +712,7 @@ public static string ToValueString(this ProviderResponseProviderName value) "Relace" => ProviderResponseProviderName.Relace, "Replicate" => ProviderResponseProviderName.Replicate, "SF Compute" => ProviderResponseProviderName.SfCompute, + "Sakana AI" => ProviderResponseProviderName.SakanaAi, "SambaNova" => ProviderResponseProviderName.SambaNova, "SambaNova 2" => ProviderResponseProviderName.SambaNova2, "Seed" => ProviderResponseProviderName.Seed, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptions.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptions.g.cs index b17b1d3f..56fd40b7 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptions.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptions.g.cs @@ -572,6 +572,12 @@ public sealed partial class VideoGenerationRequestProviderOptions [global::System.Text.Json.Serialization.JsonPropertyName("replicate")] public object? Replicate { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sakana-ai")] + public object? SakanaAi { get; set; } + /// /// /// @@ -807,6 +813,7 @@ public sealed partial class VideoGenerationRequestProviderOptions /// /// /// + /// /// /// /// @@ -927,6 +934,7 @@ public VideoGenerationRequestProviderOptions( object? reka, object? relace, object? replicate, + object? sakanaAi, object? sambanova, object? sambanovaCloaked, object? seed, @@ -1044,6 +1052,7 @@ public VideoGenerationRequestProviderOptions( this.Reka = reka; this.Relace = relace; this.Replicate = replicate; + this.SakanaAi = sakanaAi; this.Sambanova = sambanova; this.SambanovaCloaked = sambanovaCloaked; this.Seed = seed; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsSakanaAi.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsSakanaAi.Json.g.cs new file mode 100644 index 00000000..49480172 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsSakanaAi.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class VideoGenerationRequestProviderOptionsSakanaAi + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.VideoGenerationRequestProviderOptionsSakanaAi? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.VideoGenerationRequestProviderOptionsSakanaAi), + jsonSerializerContext) as global::OpenRouter.VideoGenerationRequestProviderOptionsSakanaAi; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.VideoGenerationRequestProviderOptionsSakanaAi? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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::OpenRouter.VideoGenerationRequestProviderOptionsSakanaAi? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + 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::OpenRouter.VideoGenerationRequestProviderOptionsSakanaAi), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.VideoGenerationRequestProviderOptionsSakanaAi; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsSakanaAi.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsSakanaAi.g.cs new file mode 100644 index 00000000..02fbcf2c --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsSakanaAi.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class VideoGenerationRequestProviderOptionsSakanaAi + { + + /// + /// 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/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsSakanaAi2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsSakanaAi2.Json.g.cs new file mode 100644 index 00000000..0e9c0fc0 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsSakanaAi2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class VideoGenerationRequestProviderOptionsSakanaAi2 + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.VideoGenerationRequestProviderOptionsSakanaAi2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.VideoGenerationRequestProviderOptionsSakanaAi2), + jsonSerializerContext) as global::OpenRouter.VideoGenerationRequestProviderOptionsSakanaAi2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.VideoGenerationRequestProviderOptionsSakanaAi2? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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::OpenRouter.VideoGenerationRequestProviderOptionsSakanaAi2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + 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::OpenRouter.VideoGenerationRequestProviderOptionsSakanaAi2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.VideoGenerationRequestProviderOptionsSakanaAi2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsSakanaAi2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsSakanaAi2.g.cs new file mode 100644 index 00000000..2d85a078 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.VideoGenerationRequestProviderOptionsSakanaAi2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Any type + /// + public sealed partial class VideoGenerationRequestProviderOptionsSakanaAi2 + { + + /// + /// 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/OpenRouter/openapi.yaml b/src/libs/OpenRouter/openapi.yaml index 73fc9404..001d52d4 100644 --- a/src/libs/OpenRouter/openapi.yaml +++ b/src/libs/OpenRouter/openapi.yaml @@ -11365,6 +11365,7 @@ "Recraft", "Reka", "Relace", + "Sakana AI", "SambaNova", "Seed", "SiliconFlow", @@ -13681,7 +13682,7 @@ "temperature": { "type": "number", "format": "double", - "description": "Sampling temperature forwarded to panelist and judge inner calls. When omitted, the provider's default applies." + "description": "Temperature forwarded to panelist inner calls. The judge always runs at temperature 0 regardless of this value. When omitted, the provider's default applies." }, "tools": { "type": "array", @@ -18847,6 +18848,12 @@ "description": "Any type" } }, + "sakana-ai": { + "type": "object", + "additionalProperties": { + "description": "Any type" + } + }, "sambanova": { "type": "object", "additionalProperties": { @@ -20396,6 +20403,12 @@ "description": "Any type" } }, + "sakana-ai": { + "type": "object", + "additionalProperties": { + "description": "Any type" + } + }, "sambanova": { "type": "object", "additionalProperties": { @@ -21513,6 +21526,7 @@ "recraft", "reka", "relace", + "sakana-ai", "sambanova", "seed", "siliconflow", @@ -21604,6 +21618,7 @@ "recraft", "reka", "relace", + "sakana-ai", "sambanova", "seed", "siliconflow", @@ -26521,6 +26536,7 @@ "Recraft", "Reka", "Relace", + "Sakana AI", "SambaNova", "Seed", "SiliconFlow", @@ -42177,6 +42193,12 @@ "description": "Any type" } }, + "sakana-ai": { + "type": "object", + "additionalProperties": { + "description": "Any type" + } + }, "sambanova": { "type": "object", "additionalProperties": {