Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public sealed partial class ChatWebSearchShorthand
public global::OpenRouter.WebSearchConfig? Parameters { get; set; }

/// <summary>
/// How much context to retrieve per result. Defaults to medium (15000 chars). Only applies when using the Exa engine; ignored with native provider search.
/// How much context to retrieve per result. Defaults to medium (15000 chars). Applies to Exa and Parallel engines; ignored with native provider search and Firecrawl.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("search_context_size")]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.SearchQualityLevelJsonConverter))]
Expand Down Expand Up @@ -93,7 +93,7 @@ public sealed partial class ChatWebSearchShorthand
/// </param>
/// <param name="parameters"></param>
/// <param name="searchContextSize">
/// How much context to retrieve per result. Defaults to medium (15000 chars). Only applies when using the Exa engine; ignored with native provider search.
/// How much context to retrieve per result. Defaults to medium (15000 chars). Applies to Exa and Parallel engines; ignored with native provider search and Firecrawl.
/// </param>
/// <param name="userLocation">
/// Approximate user location for location-biased results.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
namespace OpenRouter
{
/// <summary>
/// How much context to retrieve per result. Defaults to medium (15000 chars). Only applies when using the Exa engine; ignored with native provider search.
/// How much context to retrieve per result. Defaults to medium (15000 chars). Applies to Exa and Parallel engines; ignored with native provider search and Firecrawl.
/// </summary>
public enum SearchQualityLevel
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public sealed partial class WebSearchConfig
public int? MaxTotalResults { get; set; }

/// <summary>
/// How much context to retrieve per result. Defaults to medium (15000 chars). Only applies when using the Exa engine; ignored with native provider search.
/// How much context to retrieve per result. Defaults to medium (15000 chars). Applies to Exa and Parallel engines; ignored with native provider search and Firecrawl.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("search_context_size")]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.SearchQualityLevelJsonConverter))]
Expand Down Expand Up @@ -77,7 +77,7 @@ public sealed partial class WebSearchConfig
/// 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.
/// </param>
/// <param name="searchContextSize">
/// How much context to retrieve per result. Defaults to medium (15000 chars). Only applies when using the Exa engine; ignored with native provider search.
/// How much context to retrieve per result. Defaults to medium (15000 chars). Applies to Exa and Parallel engines; ignored with native provider search and Firecrawl.
/// </param>
/// <param name="userLocation">
/// Approximate user location for location-biased results.
Expand Down
2 changes: 1 addition & 1 deletion src/libs/OpenRouter/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13117,7 +13117,7 @@
"medium",
"high"
],
"description": "How much context to retrieve per result. Defaults to medium (15000 chars). Only applies when using the Exa engine; ignored with native provider search.",
"description": "How much context to retrieve per result. Defaults to medium (15000 chars). Applies to Exa and Parallel engines; ignored with native provider search and Firecrawl.",
"title": "SearchQualityLevel"
},
"WebSearchUserLocationServerToolType": {
Expand Down
Loading