From 3d34b2ae5d4286af26345ea7f04aaa603846228c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 15 May 2026 19:46:50 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../Generated/OpenRouter.Models.ChatWebSearchShorthand.g.cs | 4 ++-- .../Generated/OpenRouter.Models.WebSearchConfig.g.cs | 4 ++-- .../OpenRouter.Models.WebSearchServerToolConfig.g.cs | 4 ++-- src/libs/OpenRouter/openapi.yaml | 6 +++--- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatWebSearchShorthand.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatWebSearchShorthand.g.cs index 756851c6..b7acc8cc 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatWebSearchShorthand.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ChatWebSearchShorthand.g.cs @@ -34,7 +34,7 @@ public sealed partial class ChatWebSearchShorthand public int? MaxResults { get; set; } /// - /// Maximum total number of search results across all search calls in a single request. Once this limit is reached, the tool will stop returning new results. Useful for controlling cost and context size in agentic loops. + /// Maximum total number of search results across all search calls in a single request. Once this limit is reached, the tool will stop returning new results. Useful for controlling cost and context size in agentic loops. Defaults to 50 when not specified. /// [global::System.Text.Json.Serialization.JsonPropertyName("max_total_results")] public int? MaxTotalResults { get; set; } @@ -89,7 +89,7 @@ public sealed partial class ChatWebSearchShorthand /// Maximum number of search results to return per search call. Defaults to 5. Applies to Exa, Firecrawl, and Parallel engines; ignored with native provider search. /// /// - /// Maximum total number of search results across all search calls in a single request. Once this limit is reached, the tool will stop returning new results. Useful for controlling cost and context size in agentic loops. + /// Maximum total number of search results across all search calls in a single request. Once this limit is reached, the tool will stop returning new results. Useful for controlling cost and context size in agentic loops. Defaults to 50 when not specified. /// /// /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.WebSearchConfig.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.WebSearchConfig.g.cs index 53cd2e09..349fc2fc 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.WebSearchConfig.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.WebSearchConfig.g.cs @@ -34,7 +34,7 @@ public sealed partial class WebSearchConfig public int? MaxResults { get; set; } /// - /// Maximum total number of search results across all search calls in a single request. Once this limit is reached, the tool will stop returning new results. Useful for controlling cost and context size in agentic loops. + /// Maximum total number of search results across all search calls in a single request. Once this limit is reached, the tool will stop returning new results. Useful for controlling cost and context size in agentic loops. Defaults to 50 when not specified. /// [global::System.Text.Json.Serialization.JsonPropertyName("max_total_results")] public int? MaxTotalResults { get; set; } @@ -74,7 +74,7 @@ public sealed partial class WebSearchConfig /// Maximum number of search results to return per search call. Defaults to 5. Applies to Exa, Firecrawl, and Parallel engines; ignored with native provider search. /// /// - /// Maximum total number of search results across all search calls in a single request. Once this limit is reached, the tool will stop returning new results. Useful for controlling cost and context size in agentic loops. + /// Maximum total number of search results across all search calls in a single request. Once this limit is reached, the tool will stop returning new results. Useful for controlling cost and context size in agentic loops. Defaults to 50 when not specified. /// /// /// How much context to retrieve per result. Applies to Exa and Parallel engines; ignored with native provider search and Firecrawl. For Exa, pins a fixed per-result character cap (low=5,000, medium=15,000, high=30,000); when omitted, Exa picks an adaptive size per query and document (typically ~2,000–4,000 characters per result). For Parallel, controls the total characters across all results; when omitted, Parallel uses its own default size. diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.WebSearchServerToolConfig.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.WebSearchServerToolConfig.g.cs index bb89eca4..15ae7ecb 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.WebSearchServerToolConfig.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.WebSearchServerToolConfig.g.cs @@ -34,7 +34,7 @@ public sealed partial class WebSearchServerToolConfig public int? MaxResults { get; set; } /// - /// Maximum total number of search results across all search calls in a single request. Once this limit is reached, the tool will stop returning new results. Useful for controlling cost and context size in agentic loops. + /// Maximum total number of search results across all search calls in a single request. Once this limit is reached, the tool will stop returning new results. Useful for controlling cost and context size in agentic loops. Defaults to 50 when not specified. /// [global::System.Text.Json.Serialization.JsonPropertyName("max_total_results")] public int? MaxTotalResults { get; set; } @@ -74,7 +74,7 @@ public sealed partial class WebSearchServerToolConfig /// Maximum number of search results to return per search call. Defaults to 5. Applies to Exa, Firecrawl, and Parallel engines; ignored with native provider search. /// /// - /// Maximum total number of search results across all search calls in a single request. Once this limit is reached, the tool will stop returning new results. Useful for controlling cost and context size in agentic loops. + /// Maximum total number of search results across all search calls in a single request. Once this limit is reached, the tool will stop returning new results. Useful for controlling cost and context size in agentic loops. Defaults to 50 when not specified. /// /// /// How much context to retrieve per result. Applies to Exa and Parallel engines; ignored with native provider search and Firecrawl. For Exa, pins a fixed per-result character cap (low=5,000, medium=15,000, high=30,000); when omitted, Exa picks an adaptive size per query and document (typically ~2,000–4,000 characters per result). For Parallel, controls the total characters across all results; when omitted, Parallel uses its own default size. diff --git a/src/libs/OpenRouter/openapi.yaml b/src/libs/OpenRouter/openapi.yaml index b09e7104..e42a2727 100644 --- a/src/libs/OpenRouter/openapi.yaml +++ b/src/libs/OpenRouter/openapi.yaml @@ -10041,7 +10041,7 @@ }, "max_total_results": { "type": "integer", - "description": "Maximum total number of search results across all search calls in a single request. Once this limit is reached, the tool will stop returning new results. Useful for controlling cost and context size in agentic loops." + "description": "Maximum total number of search results across all search calls in a single request. Once this limit is reached, the tool will stop returning new results. Useful for controlling cost and context size in agentic loops. Defaults to 50 when not specified." }, "search_context_size": { "$ref": "#/components/schemas/SearchQualityLevel" @@ -16196,7 +16196,7 @@ }, "max_total_results": { "type": "integer", - "description": "Maximum total number of search results across all search calls in a single request. Once this limit is reached, the tool will stop returning new results. Useful for controlling cost and context size in agentic loops." + "description": "Maximum total number of search results across all search calls in a single request. Once this limit is reached, the tool will stop returning new results. Useful for controlling cost and context size in agentic loops. Defaults to 50 when not specified." }, "search_context_size": { "$ref": "#/components/schemas/SearchQualityLevel" @@ -16266,7 +16266,7 @@ }, "max_total_results": { "type": "integer", - "description": "Maximum total number of search results across all search calls in a single request. Once this limit is reached, the tool will stop returning new results. Useful for controlling cost and context size in agentic loops." + "description": "Maximum total number of search results across all search calls in a single request. Once this limit is reached, the tool will stop returning new results. Useful for controlling cost and context size in agentic loops. Defaults to 50 when not specified." }, "parameters": { "$ref": "#/components/schemas/WebSearchConfig"