Merge remote-tracking branch 'origin/ai-hub' into ai-hub

This commit is contained in:
Gsh
2026-01-09 20:33:13 +08:00

View File

@@ -64,8 +64,9 @@ public class OnlineSearchTool : ISingletonDependency
{ {
PageTime = new BaiduSearchPageTime PageTime = new BaiduSearchPageTime
{ {
Gte = $"now-{daysAgo.Value}d/d", //暂时不处理
Lte = "now" // Gte = $"now-{daysAgo.Value}d/d",
Gte = "now-1w/d"
} }
} }
}; };
@@ -185,7 +186,7 @@ public class BaiduSearchPageTime
{ {
[JsonPropertyName("gte")] public string? Gte { get; set; } [JsonPropertyName("gte")] public string? Gte { get; set; }
[JsonPropertyName("lte")] public string? Lte { get; set; } // [JsonPropertyName("lte")] public string? Lte { get; set; }
} }
/// <summary> /// <summary>