diff --git a/app/MindWork AI Studio/Tools/ToolCallingSystem/ToolCallingImplementations/WebSearch/Staan/StaanQueryInfo.cs b/app/MindWork AI Studio/Tools/ToolCallingSystem/ToolCallingImplementations/WebSearch/Staan/StaanQueryInfo.cs index e725a1982..411352dc3 100644 --- a/app/MindWork AI Studio/Tools/ToolCallingSystem/ToolCallingImplementations/WebSearch/Staan/StaanQueryInfo.cs +++ b/app/MindWork AI Studio/Tools/ToolCallingSystem/ToolCallingImplementations/WebSearch/Staan/StaanQueryInfo.cs @@ -8,5 +8,5 @@ internal sealed record StaanQueryInfo /// /// The query Staan searched for after correcting it, or empty when it searched what it was given. /// - public string AlteredQuery { get; init; } = string.Empty; + public string AlteredQuery { get; set; } = string.Empty; } \ No newline at end of file diff --git a/app/MindWork AI Studio/Tools/ToolCallingSystem/ToolCallingImplementations/WebSearch/Staan/StaanSearchRequest.cs b/app/MindWork AI Studio/Tools/ToolCallingSystem/ToolCallingImplementations/WebSearch/Staan/StaanSearchRequest.cs index 09fb03f85..ef44f3687 100644 --- a/app/MindWork AI Studio/Tools/ToolCallingSystem/ToolCallingImplementations/WebSearch/Staan/StaanSearchRequest.cs +++ b/app/MindWork AI Studio/Tools/ToolCallingSystem/ToolCallingImplementations/WebSearch/Staan/StaanSearchRequest.cs @@ -16,15 +16,15 @@ internal sealed record StaanSearchRequest /// What to search for. Staan rejects a query longer than 400 characters. /// [JsonPropertyName("q")] - public required string Query { get; init; } + public required string Query { get; set; } /// /// The market to search in. Staan offers de-de, en-us, and fr-fr, and defaults to fr-fr. /// - public string? Market { get; init; } + public string? Market { get; set; } /// /// Where in the result list to start, in steps of ten up to 30, or null for the first page. /// - public int? Offset { get; init; } + public int? Offset { get; set; } } \ No newline at end of file diff --git a/app/MindWork AI Studio/Tools/ToolCallingSystem/ToolCallingImplementations/WebSearch/Staan/StaanSearchResponse.cs b/app/MindWork AI Studio/Tools/ToolCallingSystem/ToolCallingImplementations/WebSearch/Staan/StaanSearchResponse.cs index 169a30120..aa4f23584 100644 --- a/app/MindWork AI Studio/Tools/ToolCallingSystem/ToolCallingImplementations/WebSearch/Staan/StaanSearchResponse.cs +++ b/app/MindWork AI Studio/Tools/ToolCallingSystem/ToolCallingImplementations/WebSearch/Staan/StaanSearchResponse.cs @@ -10,7 +10,7 @@ namespace AIStudio.Tools.ToolCallingSystem.ToolCallingImplementations.WebSearch. /// internal sealed record StaanSearchResponse { - public StaanQueryInfo? Query { get; init; } + public StaanQueryInfo? Query { get; set; } - public StaanWebSection? Web { get; init; } + public StaanWebSection? Web { get; set; } } \ No newline at end of file diff --git a/app/MindWork AI Studio/Tools/ToolCallingSystem/ToolCallingImplementations/WebSearch/Staan/StaanSearchResult.cs b/app/MindWork AI Studio/Tools/ToolCallingSystem/ToolCallingImplementations/WebSearch/Staan/StaanSearchResult.cs index 460f70a88..da1197fb4 100644 --- a/app/MindWork AI Studio/Tools/ToolCallingSystem/ToolCallingImplementations/WebSearch/Staan/StaanSearchResult.cs +++ b/app/MindWork AI Studio/Tools/ToolCallingSystem/ToolCallingImplementations/WebSearch/Staan/StaanSearchResult.cs @@ -10,9 +10,9 @@ namespace AIStudio.Tools.ToolCallingSystem.ToolCallingImplementations.WebSearch. /// internal sealed record StaanSearchResult { - public string Title { get; init; } = string.Empty; + public string Title { get; set; } = string.Empty; - public string Url { get; init; } = string.Empty; + public string Url { get; set; } = string.Empty; - public string Snippet { get; init; } = string.Empty; + public string Snippet { get; set; } = string.Empty; } \ No newline at end of file diff --git a/app/MindWork AI Studio/Tools/ToolCallingSystem/ToolCallingImplementations/WebSearch/Staan/StaanWebSection.cs b/app/MindWork AI Studio/Tools/ToolCallingSystem/ToolCallingImplementations/WebSearch/Staan/StaanWebSection.cs index 986b10c16..ddeb907f7 100644 --- a/app/MindWork AI Studio/Tools/ToolCallingSystem/ToolCallingImplementations/WebSearch/Staan/StaanWebSection.cs +++ b/app/MindWork AI Studio/Tools/ToolCallingSystem/ToolCallingImplementations/WebSearch/Staan/StaanWebSection.cs @@ -5,5 +5,5 @@ namespace AIStudio.Tools.ToolCallingSystem.ToolCallingImplementations.WebSearch. /// internal sealed record StaanWebSection { - public IReadOnlyList Results { get; init; } = []; + public IReadOnlyList Results { get; set; } = []; } \ No newline at end of file diff --git a/app/MindWork AI Studio/Tools/ToolCallingSystem/ToolCallingImplementations/WebSearch/Tavily/TavilySearchRequest.cs b/app/MindWork AI Studio/Tools/ToolCallingSystem/ToolCallingImplementations/WebSearch/Tavily/TavilySearchRequest.cs index 97aecca6b..b4d85345f 100644 --- a/app/MindWork AI Studio/Tools/ToolCallingSystem/ToolCallingImplementations/WebSearch/Tavily/TavilySearchRequest.cs +++ b/app/MindWork AI Studio/Tools/ToolCallingSystem/ToolCallingImplementations/WebSearch/Tavily/TavilySearchRequest.cs @@ -10,35 +10,35 @@ namespace AIStudio.Tools.ToolCallingSystem.ToolCallingImplementations.WebSearch. /// internal sealed record TavilySearchRequest { - public required string Query { get; init; } + public required string Query { get; set; } /// /// How thoroughly to search. A basic search costs one credit, an advanced one costs two. /// - public required string SearchDepth { get; init; } + public required string SearchDepth { get; set; } /// /// The most hits to return, at most 20. /// - public int? MaxResults { get; init; } + public int? MaxResults { get; set; } /// /// How far back to look: day, week, month, or year, or null for no restriction. /// - public string? TimeRange { get; init; } + public string? TimeRange { get; set; } /// /// The language to search in, as an ISO 639-1 code, or null for no restriction. /// - public string? Language { get; init; } + public string? Language { get; set; } /// /// Whether the language is a requirement rather than a preference. Needs the language field. /// - public bool? FilterByLanguage { get; init; } + public bool? FilterByLanguage { get; set; } /// /// Whether to filter explicit results or null to leave the decision to Tavily. /// - public bool? SafeSearch { get; init; } + public bool? SafeSearch { get; set; } } \ No newline at end of file diff --git a/app/MindWork AI Studio/Tools/ToolCallingSystem/ToolCallingImplementations/WebSearch/Tavily/TavilySearchResponse.cs b/app/MindWork AI Studio/Tools/ToolCallingSystem/ToolCallingImplementations/WebSearch/Tavily/TavilySearchResponse.cs index 171780135..008744209 100644 --- a/app/MindWork AI Studio/Tools/ToolCallingSystem/ToolCallingImplementations/WebSearch/Tavily/TavilySearchResponse.cs +++ b/app/MindWork AI Studio/Tools/ToolCallingSystem/ToolCallingImplementations/WebSearch/Tavily/TavilySearchResponse.cs @@ -10,5 +10,5 @@ namespace AIStudio.Tools.ToolCallingSystem.ToolCallingImplementations.WebSearch. /// internal sealed record TavilySearchResponse { - public IReadOnlyList Results { get; init; } = []; + public IReadOnlyList Results { get; set; } = []; } \ No newline at end of file diff --git a/app/MindWork AI Studio/Tools/ToolCallingSystem/ToolCallingImplementations/WebSearch/Tavily/TavilySearchResult.cs b/app/MindWork AI Studio/Tools/ToolCallingSystem/ToolCallingImplementations/WebSearch/Tavily/TavilySearchResult.cs index 6ca30faa0..c088d56b5 100644 --- a/app/MindWork AI Studio/Tools/ToolCallingSystem/ToolCallingImplementations/WebSearch/Tavily/TavilySearchResult.cs +++ b/app/MindWork AI Studio/Tools/ToolCallingSystem/ToolCallingImplementations/WebSearch/Tavily/TavilySearchResult.cs @@ -11,12 +11,12 @@ namespace AIStudio.Tools.ToolCallingSystem.ToolCallingImplementations.WebSearch. /// internal sealed record TavilySearchResult { - public string Title { get; init; } = string.Empty; + public string Title { get; set; } = string.Empty; - public string Url { get; init; } = string.Empty; + public string Url { get; set; } = string.Empty; /// /// The excerpt of the page that matched, which is what other services call a snippet. /// - public string Content { get; init; } = string.Empty; + public string Content { get; set; } = string.Empty; } \ No newline at end of file